summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-06-11 01:08:18 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-06-11 01:08:18 +0000
commitd0b5d0c7ccdcbb6e8227ee15c652df421f8d21ee (patch)
tree898aa107c47a89cb42e894553e7eef76d0277ad6 /llvm/lib/VMCore/IntrinsicLowering.cpp
parent2baa85e8bea6c694ecaa59cabca77365101c62ef (diff)
downloadbcm5719-llvm-d0b5d0c7ccdcbb6e8227ee15c652df421f8d21ee.tar.gz
bcm5719-llvm-d0b5d0c7ccdcbb6e8227ee15c652df421f8d21ee.zip
Add the isunordered intrinsic.
llvm-svn: 14127
Diffstat (limited to 'llvm/lib/VMCore/IntrinsicLowering.cpp')
-rw-r--r--llvm/lib/VMCore/IntrinsicLowering.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/IntrinsicLowering.cpp b/llvm/lib/VMCore/IntrinsicLowering.cpp
index 1dd819cdb42..38ba73d01f8 100644
--- a/llvm/lib/VMCore/IntrinsicLowering.cpp
+++ b/llvm/lib/VMCore/IntrinsicLowering.cpp
@@ -191,6 +191,12 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
(*(CI->op_begin()+1))->getType(), MemsetFCache);
break;
}
+ case Intrinsic::isunordered: {
+ static Function *IsunorderedFCache = 0;
+ ReplaceCallWith("isunordered", CI, CI->op_begin()+1, CI->op_end(),
+ (*(CI->op_begin()+1))->getType(), IsunorderedFCache);
+ break;
+ }
}
assert(CI->use_empty() &&
OpenPOWER on IntegriCloud