diff options
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 8dc325f427..60adae862a 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -300,7 +300,7 @@ Constant *llvm::ConstantFoldCall(Function *F, double Op1V = Op1->getValue(), Op2V = Op2->getValue(); if (Name == "llvm.isunordered") - return ConstantBool::get(isnan(Op1V) | isnan(Op2V)); + return ConstantBool::get(std::isnan(Op1V) | std::isnan(Op2V)); else if (Name == "pow") { errno = 0; double V = pow(Op1V, Op2V); |