callq is pcrelative
authorChris Lattner <sabre@nondot.org>
Thu, 18 Mar 2010 17:52:22 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Mar 2010 17:52:22 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98835 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td

index 4262c0ac0514f3af2774cecfc451e1cec0e20ee1..fbbe41e6ebcb33dd30617b8b107ea657176336f4 100644 (file)
@@ -144,7 +144,7 @@ let isCall = 1 in
     // 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]>;