mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
print a call to a fastcc function as:
call x86_fastcallcc void @func( i32* %X, i64 0 ) not: callx86_fastcallcc void @func( i32* %X, i64 0 ) This fixes Codegen/X86/fast-cc-merge-stack-adj.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1287,8 +1287,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
case CallingConv::C: break; // default
|
case CallingConv::C: break; // default
|
||||||
case CallingConv::Fast: Out << " fastcc"; break;
|
case CallingConv::Fast: Out << " fastcc"; break;
|
||||||
case CallingConv::Cold: Out << " coldcc"; break;
|
case CallingConv::Cold: Out << " coldcc"; break;
|
||||||
case CallingConv::X86_StdCall: Out << "x86_stdcallcc "; break;
|
case CallingConv::X86_StdCall: Out << " x86_stdcallcc"; break;
|
||||||
case CallingConv::X86_FastCall: Out << "x86_fastcallcc "; break;
|
case CallingConv::X86_FastCall: Out << " x86_fastcallcc"; break;
|
||||||
default: Out << " cc" << CI->getCallingConv(); break;
|
default: Out << " cc" << CI->getCallingConv(); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user