diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2017-01-31 14:35:37 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2017-01-31 14:35:37 +0000 |
commit | 8813d5d2217117ff7cc60d399015ffc5347c43ee (patch) | |
tree | 097536d920c7d2f1ed7f1f4e4f0362e8c2189824 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9bf658d5fe3813ebea4f798711ac257c72b1d6b2 (diff) | |
download | llvm-8813d5d2217117ff7cc60d399015ffc5347c43ee.zip llvm-8813d5d2217117ff7cc60d399015ffc5347c43ee.tar.gz llvm-8813d5d2217117ff7cc60d399015ffc5347c43ee.tar.bz2 |
[DAGCombine] require UnsafeFPMath for re-association of addition
Summary:
The affected transforms all implicitly use associativity of addition,
for which we usually require unsafe math to be enabled.
The "Aggressive" flag is only meant to convey information about the
performance of the fused ops relative to a fmul+fadd sequence.
Fixes Bug 31626.
Reviewers: spatel, hfinkel, mehdi_amini, arsenm, tstellarAMD
Subscribers: jholewinski, nemanjai, wdng, llvm-commits
Differential Revision: https://reviews.llvm.org/D28675
llvm-svn: 293635
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions