[PATCH] D148672: Fix i1 vector reduction miscompilation
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 21:46:18 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:2302
Opcode = ISD::VECREDUCE_UMAX;
+ Op = SExtPromotedInteger(N->getOperand(0));
+ }
----------------
Should this follow TLI.getBooleanContents?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148672/new/
https://reviews.llvm.org/D148672
More information about the llvm-commits
mailing list