1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

New regression test

llvm-svn: 3782
This commit is contained in:
Chris Lattner 2002-09-17 21:02:24 +00:00
parent b77ecb3bc6
commit 556d2f6013

View File

@ -0,0 +1,12 @@
; RUN: as < %s | opt -instcombine
%bob = type { int }
int %alias() {
%pbob1 = alloca %bob
%pbob2 = getelementptr %bob* %pbob1
%pbobel = getelementptr %bob* %pbob2, long 0, ubyte 0
%rval = load int* %pbobel
ret int %rval
}