Tidy up some alias syntax to make explicit pointer type migration easier

llvm-svn: 247312
This commit is contained in:
David Blaikie 2015-09-10 18:03:45 +00:00
parent 85a22f8b6d
commit a7970f3cf8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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