mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Whoops, don't try to lower non intrinsic calls
llvm-svn: 10632
This commit is contained in:
parent
2a1a75c9aa
commit
c487970d6b
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user