mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
4572ce85b0
llvm-svn: 33296
13 lines
264 B
LLVM
13 lines
264 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|
|
|