aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/rip-rel-lea.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/rip-rel-lea.ll')
-rw-r--r--test/CodeGen/X86/rip-rel-lea.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/rip-rel-lea.ll b/test/CodeGen/X86/rip-rel-lea.ll
index 71dacf6..6d78aab 100644
--- a/test/CodeGen/X86/rip-rel-lea.ll
+++ b/test/CodeGen/X86/rip-rel-lea.ll
@@ -7,7 +7,7 @@
@a = internal global double 3.4
define double* @foo() nounwind {
- %a = getelementptr double* @a, i64 0
+ %a = getelementptr double, double* @a, i64 0
ret double* %a
; PIC64: leaq a(%rip)