[PATCH] D105730: [SLP] match logical and/or as reduction candidates
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 14:10:39 PDT 2021
RKSimon added inline comments.
================
Comment at: llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll:448
+; CHECK-NEXT: [[CMP20:%.*]] = icmp sgt i32 [[TMP0]], 255
+; CHECK-NEXT: [[OR_COND6:%.*]] = select i1 [[TMP10]], i1 true, i1 [[CMP20]]
+; CHECK-NEXT: [[ADD:%.*]] = add nsw i32 [[TMP3]], [[TMP2]]
----------------
any idea why we only match one of the reduction chains?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105730/new/
https://reviews.llvm.org/D105730
More information about the llvm-commits
mailing list