]> granicus.if.org Git - llvm/commit
[SDAG] Add AllowContract to SNodeFlags
authorAdam Nemet <anemet@apple.com>
Tue, 28 Mar 2017 23:46:08 +0000 (23:46 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 28 Mar 2017 23:46:08 +0000 (23:46 +0000)
commit22fddd859bee89a7950cb3dfbeb72cd6072656ee
treec836d0f369bac3274353d3236c80afa98b247ca9
parent14ecedfe4c1cc0e5c6bec529c9c033d495a3982a
[SDAG] Add AllowContract to SNodeFlags

Properly propagate the FMF from the LLVM IR to this flag.

This is toward moving fp-contraction=fast from an LLVM TargetOption to a
FastMathFlag in order to fix PR25721.

Differential Revision: https://reviews.llvm.org/D31165

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298961 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp