diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-06-10 14:46:36 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-06-10 14:46:36 +0000 |
commit | 8b6d9f60ed712529d0f4f605387fe8045c96c1b1 (patch) | |
tree | fafce2c37c53380165e9e6cfdcd34123459c7396 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | b87669f166ce0bb810b2a6655fdaa79bc3b4f010 (diff) | |
download | llvm-8b6d9f60ed712529d0f4f605387fe8045c96c1b1.zip llvm-8b6d9f60ed712529d0f4f605387fe8045c96c1b1.tar.gz llvm-8b6d9f60ed712529d0f4f605387fe8045c96c1b1.tar.bz2 |
[InstCombine] change canonicalization to fabs() to use FMF on fsub
Similar to rL362909:
This isn't the ideal fix (use FMF on the select), but it's still an
improvement until we have better FMF propagation to selects and other
FP math operators.
I don't think there's much risk of regression from this change by
not including the FMF on the fcmp any more. The nsz/nnan FMF
should be the same on the fcmp and the fsub because they have the
same operand.
llvm-svn: 362943
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions