mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user