summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/weak-undef.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/weak-undef.ll')
-rw-r--r--llvm/test/CodeGen/X86/weak-undef.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/weak-undef.ll b/llvm/test/CodeGen/X86/weak-undef.ll
index 7a71d980aaf..863fea43b16 100644
--- a/llvm/test/CodeGen/X86/weak-undef.ll
+++ b/llvm/test/CodeGen/X86/weak-undef.ll
@@ -8,7 +8,7 @@ define i32* @bar1() {
; CHECK: bar1:
; CHECK: movq foo1@GOTPCREL(%rip), %rax
; I386: bar1:
-; I386: leal foo1@GOTOFF(%eax), %eax
+; I386: movl foo1@GOT(%eax), %eax
@foo2 = external hidden global i32, align 4
define i32* @bar2() {
@@ -46,7 +46,7 @@ define i32()* @bar5() {
; CHECK: bar5:
; CHECK: movq foo5@GOTPCREL(%rip), %rax
; I386: bar5:
-; I386: leal foo5@GOTOFF(%eax), %eax
+; I386: movl foo5@GOT(%eax), %eax
declare external hidden i32 @foo6()
define i32()* @bar6() {
OpenPOWER on IntegriCloud