summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-09-10 18:03:45 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-09-10 18:03:45 +0000
commit6ff608fb18a8d0613885b0a6d947c55924ae76ad (patch)
tree43d3f57daddd06e8c49fc8c94068edc681503184
parent1aa8d7ccfb86e486e19974db11de5692a19e07fd (diff)
Tidy up some alias syntax to make explicit pointer type migration easier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247312 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/uselistorder.ll2
-rw-r--r--test/CodeGen/X86/aliases.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Assembler/uselistorder.ll b/test/Assembler/uselistorder.ll
index 2475fc48caf..0d1382461ad 100644
--- a/test/Assembler/uselistorder.ll
+++ b/test/Assembler/uselistorder.ll
@@ -4,7 +4,7 @@
; RUN: verify-uselistorder < %s
@a = global [4 x i1] [i1 0, i1 1, i1 0, i1 1]
-@b = alias i1* getelementptr ([4 x i1], [4 x i1]* @a, i64 0, i64 2)
+@b = alias getelementptr ([4 x i1], [4 x i1]* @a, i64 0, i64 2)
; Check use-list order of constants used by globals.
@glob1 = global i5 7
diff --git a/test/CodeGen/X86/aliases.ll b/test/CodeGen/X86/aliases.ll
index 3f19a064323..9de7f6bb64e 100644
--- a/test/CodeGen/X86/aliases.ll
+++ b/test/CodeGen/X86/aliases.ll
@@ -49,7 +49,7 @@ define i32 @foo_f() {
@bar_p = protected alias i32* @bar
; CHECK-DAG: test2 = bar+4
-@test2 = alias getelementptr(i32, i32 *@bar, i32 1)
+@test2 = alias getelementptr(i32, i32* @bar, i32 1)
; CHECK-DAG: test3 = 42
@test3 = alias inttoptr(i32 42 to i32*)