diff options
| author | Pengfei Wang <pengfei.wang@intel.com> | 2019-11-21 17:17:19 -0800 |
|---|---|---|
| committer | Pengfei Wang <pengfei.wang@intel.com> | 2019-11-21 18:07:11 -0800 |
| commit | 22a0edd070e4a40447e0dd2699bebfd01de7a5ab (patch) | |
| tree | 0e148ab708348759b6281c6c6475c31f98cdf21c /llvm/lib/Target/SystemZ | |
| parent | fa09dddd70c557bd3e78bbeef1511e737c4b8049 (diff) | |
| download | bcm5719-llvm-22a0edd070e4a40447e0dd2699bebfd01de7a5ab.tar.gz bcm5719-llvm-22a0edd070e4a40447e0dd2699bebfd01de7a5ab.zip | |
[FPEnv] Add an option to disable strict float node mutating to an normal
float node
This patch add an option 'disable-strictnode-mutation' to prevent strict
node mutating to an normal node.
So we can make sure that the patch which sets strict-node as legal works
correctly.
Patch by Chen Liu(LiuChen3)
Differential Revision: https://reviews.llvm.org/D70226
Diffstat (limited to 'llvm/lib/Target/SystemZ')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 42c18803e28..f8adca740a6 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -634,6 +634,9 @@ SystemZTargetLowering::SystemZTargetLowering(const TargetMachine &TM, // than "STC;MVC". Handle the choice in target-specific code instead. MaxStoresPerMemset = 0; MaxStoresPerMemsetOptSize = 0; + + // Default to having -disable-strictnode-mutation on + IsStrictFPEnabled = true; } EVT SystemZTargetLowering::getSetCCResultType(const DataLayout &DL, |

