[PATCH] D118317: [InstCombine] Fold and-reduce idiom

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 05:32:53 PST 2022


spatel added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/icmp-vec.ll:431
 
 define i1 @eq_cast_ne-1(<2 x i7> %x, <2 x i7> %y) {
 ; CHECK-LABEL: @eq_cast_ne-1(
----------------
If this had a power-of-2 type with this pattern, would we handle it? Would be good to add a few more test comments, so the intent is clear.
https://alive2.llvm.org/ce/z/rDeaif




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

https://reviews.llvm.org/D118317



More information about the llvm-commits mailing list