print a call to a fastcc function as:
authorChris Lattner <sabre@nondot.org>
Sun, 18 Nov 2007 18:32:16 +0000 (18:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Nov 2007 18:32:16 +0000 (18:32 +0000)
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

lib/VMCore/AsmWriter.cpp

index 9592151c6d924aed9b7865330e1c42882eb6f466..859807ba341965aa266501ca39089c5f0c2b908e 100644 (file)
@@ -1287,8 +1287,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
     case CallingConv::C: break;   // default
     case CallingConv::Fast:  Out << " fastcc"; break;
     case CallingConv::Cold:  Out << " coldcc"; break;
-    case CallingConv::X86_StdCall:  Out << "x86_stdcallcc "; break;
-    case CallingConv::X86_FastCall: Out << "x86_fastcallcc "; break; 
+    case CallingConv::X86_StdCall:  Out << " x86_stdcallcc"; break;
+    case CallingConv::X86_FastCall: Out << " x86_fastcallcc"; break; 
     default: Out << " cc" << CI->getCallingConv(); break;
     }