CALL64pcrel32 immediate field is 32-bit. Patch by Abhinav Duggal.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 16 Jun 2009 19:44:27 +0000 (19:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 16 Jun 2009 19:44:27 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73536 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td

index b58649faa541b455ffb26650dabff371d7e1e2eb..ee0f0f43e1a9a288a810da509d73c44937359364 100644 (file)
@@ -113,7 +113,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 : I<0xE8, RawFrm,
+    def CALL64pcrel32 : Ii32<0xE8, RawFrm,
                           (outs), (ins i64i32imm:$dst, variable_ops),
                           "call\t${dst:call}", []>,
                         Requires<[In64BitMode]>;