diff options
author | Wang, Pengfei <pengfei.wang@intel.com> | 2020-01-17 10:32:30 +0800 |
---|---|---|
committer | Wang, Pengfei <pengfei.wang@intel.com> | 2020-01-27 10:38:05 +0800 |
commit | 17b8f96d65e462c80cb76648edcc69b5acfa10d1 (patch) | |
tree | 1f71843a3547869bcdd864e4176b36ae467962e6 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 9c24fca2a33fc0fd059e278bb95c84803dfff9ae (diff) | |
download | llvm-17b8f96d65e462c80cb76648edcc69b5acfa10d1.zip llvm-17b8f96d65e462c80cb76648edcc69b5acfa10d1.tar.gz llvm-17b8f96d65e462c80cb76648edcc69b5acfa10d1.tar.bz2 |
[FPEnv] Divide macro INSTRUCTION into INSTRUCTION and DAG_INSTRUCTION,
and macro FUNCTION likewise. NFCI.
Some functions like fmuladd don't really have a node, we should divide
the declaration form those have node to avoid introducing fake nodes.
Differential Revision: https://reviews.llvm.org/D72871
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index db077bb..762a061 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -702,7 +702,7 @@ void TargetLoweringBase::initActions() { } // Constrained floating-point operations default to expand. -#define INSTRUCTION(NAME, NARG, ROUND_MODE, INTRINSIC, DAGN) \ +#define DAG_INSTRUCTION(NAME, NARG, ROUND_MODE, INTRINSIC, DAGN) \ setOperationAction(ISD::STRICT_##DAGN, VT, Expand); #include "llvm/IR/ConstrainedOps.def" |