aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-09-25 17:03:20 +0000
committerFlorian Hahn <flo@fhahn.com>2019-09-25 17:03:20 +0000
commitf3ab99dcf8afaa2b4617a0c749782a2e664d77a8 (patch)
tree5dacc82b9f7732b4eed4d7aeef7a1c423ee40f0d /llvm/unittests/ADT/ArrayRefTest.cpp
parent24337db616668125b55781a82d7651800934ae4a (diff)
downloadllvm-f3ab99dcf8afaa2b4617a0c749782a2e664d77a8.zip
llvm-f3ab99dcf8afaa2b4617a0c749782a2e664d77a8.tar.gz
llvm-f3ab99dcf8afaa2b4617a0c749782a2e664d77a8.tar.bz2
[InstCombine] Limit FMul constant folding for fma simplifications.
As @reames pointed out post-commit, rL371518 adds additional rounding in some cases, when doing constant folding of the multiplication. This breaks a guarantee llvm.fma makes and must be avoided. This patch reapplies rL371518, but splits off the simplifications not requiring rounding from SimplifFMulInst as SimplifyFMAFMul. Reviewers: spatel, lebedev.ri, reames, scanon Reviewed By: reames Differential Revision: https://reviews.llvm.org/D67434 llvm-svn: 372899
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions