llvm.org GIT mirror llvm / 5459143
Revert the assert for MUL_LOHI with an unused high result; Chris pointed out that this isn't correct at -O0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47575 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 12 years ago
1 changed file(s) with 0 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
12201220
12211221 case ISD::SMUL_LOHI:
12221222 case ISD::UMUL_LOHI: {
1223 assert(!N.getValue(1).use_empty() &&
1224 "A MUL_LOHI with an unused high result should fold to a MUL!");
1225
12261223 SDOperand N0 = Node->getOperand(0);
12271224 SDOperand N1 = Node->getOperand(1);
12281225