From aed386e6b0216722af654d822d0a0e9ffb571c3b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Dec 2003 09:53:23 +0000 Subject: [PATCH] Whoops, don't try to lower non intrinsic calls git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10632 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/InstrSelection/InstrSelection.cpp | 1 + lib/Target/SparcV9/InstrSelection/InstrSelection.cpp | 1 + lib/Target/X86/InstSelectSimple.cpp | 1 + lib/Target/X86/X86ISelSimple.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index 2c340dbebc6..f1fcc8fdc87 100644 --- a/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -132,6 +132,7 @@ bool InstructionSelection::runOnFunction(Function &F) { #undef va_start #undef va_copy #undef va_end + case Intrinsic::not_intrinsic: case Intrinsic::va_start: case Intrinsic::va_copy: case Intrinsic::va_end: diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp index 2c340dbebc6..f1fcc8fdc87 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp @@ -132,6 +132,7 @@ bool InstructionSelection::runOnFunction(Function &F) { #undef va_start #undef va_copy #undef va_end + case Intrinsic::not_intrinsic: case Intrinsic::va_start: case Intrinsic::va_copy: case Intrinsic::va_end: diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 0e07579d739..1029fc669b9 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -1107,6 +1107,7 @@ void ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) { if (CallInst *CI = dyn_cast(I++)) if (Function *F = CI->getCalledFunction()) switch (F->getIntrinsicID()) { + case Intrinsic::not_intrinsic: case Intrinsic::va_start: case Intrinsic::va_copy: case Intrinsic::va_end: diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp index 0e07579d739..1029fc669b9 100644 --- a/lib/Target/X86/X86ISelSimple.cpp +++ b/lib/Target/X86/X86ISelSimple.cpp @@ -1107,6 +1107,7 @@ void ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) { if (CallInst *CI = dyn_cast(I++)) if (Function *F = CI->getCalledFunction()) switch (F->getIntrinsicID()) { + case Intrinsic::not_intrinsic: case Intrinsic::va_start: case Intrinsic::va_copy: case Intrinsic::va_end: