diff options
Diffstat (limited to 'llvm/lib/VMCore/IntrinsicLowering.cpp')
-rw-r--r-- | llvm/lib/VMCore/IntrinsicLowering.cpp | 6 |
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() && |