From bb25f2f08dc956f2355be96554fb89ea30bd0fad Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 3 Dec 2002 00:51:09 +0000 Subject: brg X86Implicit.cpp, X86Implicit.h: New files. InstSelectSimple.cpp: Add some clarifications in visitCallInst comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4874 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/InstSelectSimple.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Target/X86/InstSelectSimple.cpp') diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index d9facda10e..a601660413 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -397,6 +397,8 @@ ISel::visitCallInst (CallInst & CI) { case cByte: case cShort: + // Promote V to 32 bits wide, and move the result into EAX, + // then push EAX. promote32 (X86::EAX, v); BuildMI (BB, X86::PUSHr32, 1).addReg (X86::EAX); break; @@ -405,7 +407,7 @@ ISel::visitCallInst (CallInst & CI) BuildMI (BB, X86::PUSHr32, 1).addReg (argReg); break; default: - // FIXME + // FIXME: long/ulong/double args not handled. visitInstruction (CI); break; } -- cgit v1.2.3-70-g09d2