diff options
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index facd972..08c60b4 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp @@ -1976,7 +1976,7 @@ static Constant *constantFoldCanonicalize(const Type *Ty, const CallBase *CI, if (DenormMode == DenormalMode::getIEEE()) return nullptr; - if (DenormMode == DenormalMode::getDynamic()) + if (DenormMode.Input == DenormalMode::Dynamic) return nullptr; // If we know if either input or output is flushed, we can fold. |