mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 06:22:56 +02:00
43e145ce25
older features will be dropped soon and these test cases must not rely on the upgrade capability. llvm-svn: 31896
13 lines
249 B
LLVM
13 lines
249 B
LLVM
; RUN: llvm-as < %s | opt -instcombine
|
|
|
|
%bob = type { int }
|
|
|
|
int %alias() {
|
|
%pbob1 = alloca %bob
|
|
%pbob2 = getelementptr %bob* %pbob1
|
|
%pbobel = getelementptr %bob* %pbob2, long 0, uint 0
|
|
%rval = load int* %pbobel
|
|
ret int %rval
|
|
}
|
|
|