summaryrefslogtreecommitdiffstats
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
commiteaceb9fd392f8e4b80477055003e833c5642f9ca (patch)
tree1d8ea3e4db4cc7b82e9b7eee16404f847adf784c
parent966e934b3472c9129262ba2897484cbe08a80cd7 (diff)
downloadbcm5719-llvm-eaceb9fd392f8e4b80477055003e833c5642f9ca.tar.gz
bcm5719-llvm-eaceb9fd392f8e4b80477055003e833c5642f9ca.zip
callq is pcrelative
llvm-svn: 98835
-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 4262c0ac051..fbbe41e6ebc 100644
--- a/llvm/lib/Target/X86/X86Instr64bit.td
+++ b/llvm/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]>;
OpenPOWER on IntegriCloud