diff options
author | Adam Nemet <anemet@apple.com> | 2017-03-30 18:53:04 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2017-03-30 18:53:04 +0000 |
commit | edaec6de73aa24dee60645f0a8015ae0fe1849f3 (patch) | |
tree | fa638ef77354e231493dc8ec83d30d6b64fcef7f /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 1052b7236121f6934e46988e11b4e08d3dbf3951 (diff) | |
download | llvm-edaec6de73aa24dee60645f0a8015ae0fe1849f3.zip llvm-edaec6de73aa24dee60645f0a8015ae0fe1849f3.tar.gz llvm-edaec6de73aa24dee60645f0a8015ae0fe1849f3.tar.bz2 |
[DAGCombiner] Initial support for the fast-math flag contract
Now alternatively to the TargetOption.AllowFPOpFusion global flag, FMUL->FADD
can also use the per operation FMF to allow fusion.
The idea here is not to port everything to the new scheme (e.g. fused
multiply-and-sub will be ported later) but that this work all the way from
clang.
The transformation is conditionalized on *both* the FADD and the FMUL having
the FMF contract flag.
Differential Revision: https://reviews.llvm.org/D31169
llvm-svn: 299096
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions