[PATCH] D146683: [DAG] Conservatively check the VSELECT Operation Action in tryToFoldExtendSelectLoad

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 19:25:36 PDT 2023


LuoYuanke added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vselect-post-combine.ll:18
+  %0 = bitcast <32 x i8> %vec1 to <4 x i64>
+  %shuffle.i.i.i6.i.i = shufflevector <4 x i64> %0, <4 x i64> zeroinitializer, <2 x i32> <i32 0, i32 1>
+  %1 = bitcast <2 x i64> %shuffle.i.i.i6.i.i to <16 x i8>
----------------
Could you simplify %shuffle.i.i.i6.i.i as well?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146683/new/

https://reviews.llvm.org/D146683



More information about the llvm-commits mailing list