[PATCH] D103192: [X86] Fold (shift undef, X)->0 for vector shifts by immediate.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 02:41:33 PDT 2021
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/test/CodeGen/X86/vec_shift5.ll:193
+ %res = call <4 x i32> @llvm.x86.sse2.pslli.d(<4 x i32> undef, i32 7)
+ ret <4 x i32> %res
+}
----------------
precommit - and maybe include a shift-by-one instruction ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103192/new/
https://reviews.llvm.org/D103192
More information about the llvm-commits
mailing list