mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
6fb6ce3148
commit
aed386e6b0
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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…
Reference in New Issue
Block a user