[llvm-commits] Patch to correctly emit 64-bit WINCALLs

Chris Lattner clattner at apple.com
Tue Aug 3 15:49:48 PDT 2010


Thanks!  Applied in r110164

-Chris

On Aug 3, 2010, at 1:31 PM, Cameron Esfahani wrote:

> 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
> 
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list