[llvm-commits] Patch to correctly emit 64-bit WINCALLs
Cameron Esfahani
dirty at apple.com
Tue Aug 3 13:31:34 PDT 2010
Here's a small patch to correctly emit a 64-bit WINCALL:
Index: lib/Target/X86/X86Instr64bit.td
===================================================================
--- lib/Target/X86/X86Instr64bit.td (revision 110105)
+++ lib/Target/X86/X86Instr64bit.td (working copy)
@@ -168,7 +168,7 @@
MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7,
XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, EFLAGS],
Uses = [RSP] in {
- def WINCALL64pcrel32 : I<0xE8, RawFrm,
+ def WINCALL64pcrel32 : Ii32PCRel<0xE8, RawFrm,
(outs), (ins i64i32imm_pcrel:$dst, variable_ops),
"call\t$dst", []>,
Requires<[IsWin64]>;
Cameron Esfahani
dirty at apple.com
"It is the spirit and not the form of law that keeps justice alive."
Earl Warren
More information about the llvm-commits
mailing list