summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/fsub.ll
Commit message (Collapse)AuthorAgeFilesLines
* InstCombine: Fix assert when reassociating fsub with undefMatt Arsenault2017-04-241-0/+44
| | | | | | | | | | | | | There is logic to track the expected number of instructions produced. It thought in this case an instruction would be necessary to negate the result, but here it folded into a ConstantExpr fneg when the non-undef value operand was cancelled out by the second fsub. I'm not sure why we don't fold constant FP ops with undef currently, but I think that would also avoid this problem. llvm-svn: 301199
* Reduce fsub-fadd.ll and merge it into fsub-fsub.ll. Rename fsub-fsub.ll toBill Wendling2010-01-171-0/+23
fsub.ll and FileCheckify it. llvm-svn: 93669
OpenPOWER on IntegriCloud