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

Chris Lattner sabre at nondot.org
Thu Mar 18 10:52:22 PDT 2010


Author: lattner
Date: Thu Mar 18 12:52:22 2010
New Revision: 98835

URL: http://llvm.org/viewvc/llvm-project?rev=98835&view=rev
Log:
callq is pcrelative


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=98835&r1=98834&r2=98835&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Thu Mar 18 12:52:22 2010
@@ -144,7 +144,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 : Ii32<0xE8, RawFrm,
+    def CALL64pcrel32 : Ii32PCRel<0xE8, RawFrm,
                           (outs), (ins i64i32imm_pcrel:$dst, variable_ops),
                           "call{q}\t$dst", []>,
                         Requires<[In64BitMode, NotWin64]>;





More information about the llvm-commits mailing list