[PATCH] D118317: [InstCombine] Fold and-reduce idiom
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 09:12:24 PST 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:5902
+ Value *LHS = InnerICmp->getOperand(0);
+ Value *RHS = InnerICmp->getOperand(1);
+ auto *LHSTy = dyn_cast<FixedVectorType>(LHS->getType());
----------------
Is it worth using the pattern match helpers to match all of this?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118317/new/
https://reviews.llvm.org/D118317
More information about the llvm-commits
mailing list