Whoops, don't try to lower non intrinsic calls
authorChris Lattner <sabre@nondot.org>
Sun, 28 Dec 2003 09:53:23 +0000 (09:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Dec 2003 09:53:23 +0000 (09:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10632 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/InstrSelection/InstrSelection.cpp
lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp

index 2c340dbebc655d5a37ffe371b2b800a20207495c..f1fcc8fdc87a1b86233edf3392c041f7079dee1f 100644 (file)
@@ -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:
index 2c340dbebc655d5a37ffe371b2b800a20207495c..f1fcc8fdc87a1b86233edf3392c041f7079dee1f 100644 (file)
@@ -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:
index 0e07579d739bae6dda752d2925634cfaeb4c3121..1029fc669b9abf577d65b5ee7415bdf9da6cf6c7 100644 (file)
@@ -1107,6 +1107,7 @@ void ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
       if (CallInst *CI = dyn_cast<CallInst>(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:
index 0e07579d739bae6dda752d2925634cfaeb4c3121..1029fc669b9abf577d65b5ee7415bdf9da6cf6c7 100644 (file)
@@ -1107,6 +1107,7 @@ void ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
       if (CallInst *CI = dyn_cast<CallInst>(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: