[PATCH] D51496: [InstCombine] narrow vector select with padded condition and extracted result (PR38691)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 10:42:21 PDT 2018


lebedev.ri added a comment.

Looks good, but i would prefer for someone else to take a look, too.



================
Comment at: test/Transforms/InstCombine/shuffle-select-narrow.ll:82
   %r = shufflevector <4 x i8> %widesel, <4 x i8> undef, <2 x i32> <i32 0, i32 1>
   call void @use_cmp(<4 x i1> %widecmp)
   ret <2 x i8> %r
----------------
Would be best to move this to right after `%widecmp = `


https://reviews.llvm.org/D51496





More information about the llvm-commits mailing list