Whoops, don't try to lower non intrinsic calls

llvm-svn: 10632
This commit is contained in:
Chris Lattner 2003-12-28 09:53:23 +00:00
parent 2a1a75c9aa
commit c487970d6b
2 changed files with 2 additions and 0 deletions

View 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:

View 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: