aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-16 19:44:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-16 19:44:27 +0000
commit876eac9da5f53d34f8d89065eb2837a0759f198a (patch)
tree0b1737ec5b3d04a64cd21a5d0f3f4910f006e49c
parent385f5a99ecc7fee48a7539bc63d3e1d3b5089c0d (diff)
CALL64pcrel32 immediate field is 32-bit. Patch by Abhinav Duggal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73536 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86Instr64bit.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td
index b58649faa5..ee0f0f43e1 100644
--- a/lib/Target/X86/X86Instr64bit.td
+++ b/lib/Target/X86/X86Instr64bit.td
@@ -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]>;