[llvm-commits] [llvm] r73536 - /llvm/trunk/lib/Target/X86/X86Instr64bit.td

Evan Cheng evan.cheng at apple.com
Tue Jun 16 12:44:27 PDT 2009


Author: evancheng
Date: Tue Jun 16 14:44:27 2009
New Revision: 73536

URL: http://llvm.org/viewvc/llvm-project?rev=73536&view=rev
Log:
CALL64pcrel32 immediate field is 32-bit. Patch by Abhinav Duggal.

Modified:
    llvm/trunk/lib/Target/X86/X86Instr64bit.td

Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=73536&r1=73535&r2=73536&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Tue Jun 16 14:44:27 2009
@@ -113,7 +113,7 @@
     // NOTE: this pattern doesn't match "X86call imm", because we do not know
     // that the offset between an arbitrary immediate and the call will fit in
     // the 32-bit pcrel field that we have.
-    def CALL64pcrel32 : I<0xE8, RawFrm,
+    def CALL64pcrel32 : Ii32<0xE8, RawFrm,
                           (outs), (ins i64i32imm:$dst, variable_ops),
                           "call\t${dst:call}", []>,
                         Requires<[In64BitMode]>;





More information about the llvm-commits mailing list