mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 02:43:51 +00:00
New testcase
llvm-svn: 6427
This commit is contained in:
parent
0d415b2dd3
commit
43ab06fba5
@ -0,0 +1,9 @@
|
||||
; RUN: as < %s | opt -scalarrepl
|
||||
|
||||
int %test() {
|
||||
%X = alloca { [ 4 x int] }
|
||||
%Y = getelementptr { [ 4 x int] }* %X, long 0, ubyte 0, long 2
|
||||
store int 4, int* %Y
|
||||
%Z = load int* %Y
|
||||
ret int %Z
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user