diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2002-12-03 00:51:09 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2002-12-03 00:51:09 +0000 |
commit | bb25f2f08dc956f2355be96554fb89ea30bd0fad (patch) | |
tree | 0b2c2bf8f0d27aa68aae0232c74ef9d8be4c6b05 /lib/Target/X86/InstSelectSimple.cpp | |
parent | 8562d4ec7ce4719df7e106a3d27e4549e2cc8054 (diff) |
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
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |