summaryrefslogtreecommitdiffstats
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
commit0d9730f39f935bc67a8565bfc9695610840db70c (patch)
tree625c327317776122b85789344d91de8dd9b186aa
parenta8fd40b50aac4582d6e8fe73a92a66eda961bdef (diff)
downloadbcm5719-llvm-0d9730f39f935bc67a8565bfc9695610840db70c.tar.gz
bcm5719-llvm-0d9730f39f935bc67a8565bfc9695610840db70c.zip
CALL64pcrel32 immediate field is 32-bit. Patch by Abhinav Duggal.
llvm-svn: 73536
-rw-r--r--llvm/lib/Target/X86/X86Instr64bit.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86Instr64bit.td b/llvm/lib/Target/X86/X86Instr64bit.td
index b58649faa54..ee0f0f43e1a 100644
--- a/llvm/lib/Target/X86/X86Instr64bit.td
+++ b/llvm/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]>;
OpenPOWER on IntegriCloud