summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-18 18:32:16 +0000
committerChris Lattner <sabre@nondot.org>2007-11-18 18:32:16 +0000
commitf527037485539ed2d4bfe8ce5df86d69b7f39ee3 (patch)
treef9ea453d53ce274b1ec87a1e50362cc29804915c /llvm/lib/VMCore
parent861302e264756764953afdc619a52b7489b834f3 (diff)
downloadbcm5719-llvm-f527037485539ed2d4bfe8ce5df86d69b7f39ee3.tar.gz
bcm5719-llvm-f527037485539ed2d4bfe8ce5df86d69b7f39ee3.zip
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 llvm-svn: 44217
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 9592151c6d9..859807ba341 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -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;
}
OpenPOWER on IntegriCloud