[llvm-commits] CVS: llvm/lib/Target/X86/X86Implicit.cpp X86Implicit.h InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 2 18:52:01 PST 2002
Changes in directory llvm/lib/Target/X86:
X86Implicit.cpp added (r1.1)
X86Implicit.h added (r1.1)
InstSelectSimple.cpp updated: 1.41 -> 1.42
---
Log message:
brg
X86Implicit.cpp, X86Implicit.h: New files.
InstSelectSimple.cpp: Add some clarifications in visitCallInst comments.
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.41 llvm/lib/Target/X86/InstSelectSimple.cpp:1.42
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.41 Sun Dec 1 17:24:58 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Mon Dec 2 18:51:09 2002
@@ -397,6 +397,8 @@
{
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 @@
BuildMI (BB, X86::PUSHr32, 1).addReg (argReg);
break;
default:
- // FIXME
+ // FIXME: long/ulong/double args not handled.
visitInstruction (CI);
break;
}
More information about the llvm-commits
mailing list