From: David Blaikie <dblaikie@gmail.com>
Date: Thu, 10 Sep 2015 18:03:45 +0000 (+0000)
Subject: Tidy up some alias syntax to make explicit pointer type migration easier
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6ff608fb18a8d0613885b0a6d947c55924ae76ad;p=oota-llvm.git

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
---

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*)