We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f9017 commit 90892dbCopy full SHA for 90892db
llvm/lib/Target/ARM/ARMISelLowering.h
@@ -641,8 +641,9 @@ class VectorType;
641
642
bool shouldFormOverflowOp(unsigned Opcode, EVT VT,
643
bool MathUsed) const override {
644
- // Using overflow ops for overflow checks only should beneficial on ARM.
645
- return TargetLowering::shouldFormOverflowOp(Opcode, VT, true);
+ if (VT.isVector())
+ return false;
646
+ return !isOperationExpand(Opcode, VT);
647
}
648
649
bool shouldReassociateReduction(unsigned Opc, EVT VT) const override {
0 commit comments