diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-11 02:29:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-11 02:29:43 +0000 |
commit | 137cc4fc8c549c805e817095e2d82776a2af8095 (patch) | |
tree | c4657f95ecdf042081916165000f6bbaf63aea3f /lib/VMCore/Function.cpp | |
parent | 320062845b63b0b07634147c4751be0ee40fffd5 (diff) |
I misled Alkis: LLVM should have isnan, not isunordered.
isunordered(X, Y) === isnan(X) | isnan(Y)
Remove isunordered, add isnan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 82f3645acb..a0f86d55e5 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -223,7 +223,7 @@ unsigned Function::getIntrinsicID() const { if (getName() == "llvm.gcroot") return Intrinsic::gcroot; break; case 'i': - if (getName() == "llvm.isunordered") return Intrinsic::isunordered; + if (getName() == "llvm.isnan") return Intrinsic::isnan; break; case 'l': if (getName() == "llvm.longjmp") return Intrinsic::longjmp; |