summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-18 17:52:22 +0000
committerChris Lattner <sabre@nondot.org>2010-03-18 17:52:22 +0000
commite10038e54e0bbadf8b1d07dec860cc5e58816757 (patch)
treeaf47a21e556d40247935e0feba4daf98d09bf78a /lib
parent35ee7d6e045dd8488678e4d66f0ee6d052451851 (diff)
downloadexternal_llvm-e10038e54e0bbadf8b1d07dec860cc5e58816757.zip
external_llvm-e10038e54e0bbadf8b1d07dec860cc5e58816757.tar.gz
external_llvm-e10038e54e0bbadf8b1d07dec860cc5e58816757.tar.bz2
callq is pcrelative
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-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 4262c0a..fbbe41e 100644
--- a/lib/Target/X86/X86Instr64bit.td
+++ b/lib/Target/X86/X86Instr64bit.td
@@ -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]>;