Sanjay Patel
8ec7158571
[InstSimplify] simplify FP ops harder with FMF
...
This is part of the IR sibling for:
D75576
(I'm splitting part of the transform as a separate commit
to reduce risk. I don't know of any bugs that might be
exposed by this improved folding, but it's hard to see
those in advance...)
2020-03-12 09:13:28 -04:00
Ehud Katz
2d77e0b9f2
Fix tests of constant folding of fp operations on NaN values
...
Fix failures introduced due to change rG0b336b6048ae.
2020-01-21 21:48:07 +02:00
Cameron McInally
14a90661f8
Revert llvm-svn: 360807
...
Somehow submitted this patch twice.
llvm-svn: 360812
2019-05-15 20:48:50 +00:00
Cameron McInally
94f16bfaba
Add unary fneg to InstSimplify/fp-nan.ll
...
llvm-svn: 360807
2019-05-15 20:27:35 +00:00
Cameron McInally
a4d29b8e20
Add unary fneg to InstSimplify/fp-nan.ll
...
llvm-svn: 360797
2019-05-15 19:37:03 +00:00
Eric Christopher
cee313d288
Revert "Temporarily Revert "Add basic loop fusion pass.""
...
The reversion apparently deleted the test/Transforms directory.
Will be re-reverting again.
llvm-svn: 358552
2019-04-17 04:52:47 +00:00
Eric Christopher
a863435128
Temporarily Revert "Add basic loop fusion pass."
...
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
2019-04-17 02:12:23 +00:00
Sanjay Patel
e235942a1e
[InstSimplify] fp_binop X, NaN --> NaN
...
We propagate the existing NaN value when possible.
Differential Revision: https://reviews.llvm.org/D44521
llvm-svn: 328140
2018-03-21 19:31:53 +00:00
Sanjay Patel
5a5c33d8b5
[InstSimplify] add NaN constant diversity; NFC
...
llvm-svn: 327743
2018-03-16 20:55:55 +00:00
Sanjay Patel
43f71eade0
[InstSimplify] add tests with NaN operand for fp binops; NFC
...
llvm-svn: 327631
2018-03-15 14:48:39 +00:00