summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/test-pic-1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/test-pic-1.ll')
-rw-r--r--test/CodeGen/X86/test-pic-1.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/X86/test-pic-1.ll b/test/CodeGen/X86/test-pic-1.ll
index a12e742db9..81e283f811 100644
--- a/test/CodeGen/X86/test-pic-1.ll
+++ b/test/CodeGen/X86/test-pic-1.ll
@@ -4,15 +4,15 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic | grep GOT | wc -l | grep 3 &&
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic | grep GOTOFF | wc -l | grep 0
-%ptr = external global i32*
-%dst = external global i32
-%src = external global i32
+@ptr = external global i32*
+@dst = external global i32
+@src = external global i32
-define void %foo() {
+define void @foo() {
entry:
- store i32* %dst, i32** %ptr
- %tmp.s = load i32* %src
- store i32 %tmp.s, i32* %dst
+ store i32* @dst, i32** @ptr
+ %tmp.s = load i32* @src
+ store i32 %tmp.s, i32* @dst
ret void
}