mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
Tidy up some alias syntax to make explicit pointer type migration easier
llvm-svn: 247312
This commit is contained in:
parent
e4e9a1db02
commit
17d5d2dfd7
@ -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
|
||||
|
@ -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*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user