llvm.org GIT mirror llvm / 7ae7836
[X86] Fix a place that was mishandling X86ISD::UMUL. According to the X86ISelLowering.h, UMUL results are low, high, and flags. But this place was treating result 1 or 2 as flags. Differential Revision: https://reviews.llvm.org/D36654 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310846 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1760317603 return true;
1760417604 if (Op.getResNo() == 1 &&
1760517605 (Opc == X86ISD::ADD || Opc == X86ISD::SUB || Opc == X86ISD::ADC ||
17606 Opc == X86ISD::SBB || Opc == X86ISD::SMUL || Opc == X86ISD::UMUL ||
17606 Opc == X86ISD::SBB || Opc == X86ISD::SMUL ||
1760717607 Opc == X86ISD::INC || Opc == X86ISD::DEC || Opc == X86ISD::OR ||
1760817608 Opc == X86ISD::XOR || Opc == X86ISD::AND))
1760917609 return true;