mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e062a1eda
commit
fa4c20dd92
9
test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll
Normal file
9
test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll
Normal file
@ -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…
Reference in New Issue
Block a user