summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/ConditionalTrappingConstantExpr.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Constant] remove fdiv and frem from canTrap()Sanjay Patel2016-08-291-6/+3
| | | | | | | | | | | Assuming the default FP env, we should not treat fdiv and frem any differently in terms of trapping behavior than any other FP op. Ie, FP ops do not trap with the default FP env. This matches how we treat the fdiv/frem in IR with isSafeToSpeculativelyExecute() and in the backend after: https://reviews.llvm.org/rL279970 llvm-svn: 279973
* [SimplifyCFG] rename test file, regenerate checks, and add testSanjay Patel2016-08-291-0/+70
The fdiv test shows a problem similar to: https://reviews.llvm.org/rL279970 llvm-svn: 279972
OpenPOWER on IntegriCloud