[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.def
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 16 09:56:02 PST 2002
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.def updated: 1.41 -> 1.42
---
Log message:
Add call clobber info
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86InstrInfo.def
diff -u llvm/lib/Target/X86/X86InstrInfo.def:1.41 llvm/lib/Target/X86/X86InstrInfo.def:1.42
--- llvm/lib/Target/X86/X86InstrInfo.def:1.41 Fri Dec 13 08:13:27 2002
+++ llvm/lib/Target/X86/X86InstrInfo.def Mon Dec 16 09:54:42 2002
@@ -35,7 +35,7 @@
IMPREGSLIST(O_EBP, X86::EBP, 0)
IMPREGSLIST(T_AXDX , X86::AX , X86::DX , 0)
IMPREGSLIST(T_EAXEDX, X86::EAX, X86::EDX, 0)
-
+IMPREGSLIST(C_CLOBBER, X86::EAX, X86::ECX, X86::EDX, 0) // Callee clobber regs
#undef IMPREGSLIST
@@ -67,9 +67,9 @@
NoIR) // je foo
I(CALLpcrel32 , "call", 0xE8, M_BRANCH_FLAG, X86II::Void, NoIR, NoIR) // call pc+42
I(CALLr32 , "call", 0xFF, M_BRANCH_FLAG, X86II::Void | X86II::MRMS2r | X86II::Arg32,
- NoIR, NoIR) // call [r32]
+ NoIR, C_CLOBBER) // call [r32]
I(CALLm32 , "call", 0xFF, M_BRANCH_FLAG, X86II::Void | X86II::MRMS2m | X86II::Arg32,
- NoIR, NoIR) // call [m32]
+ NoIR, C_CLOBBER) // call [m32]
// Misc instructions
I(LEAVE , "leave", 0xC9, 0, X86II::RawFrm, O_EBP, O_EBP) // leave
More information about the llvm-commits
mailing list