llvm.org GIT mirror llvm / 7523a10
New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2262 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
2 changed file(s) with 32 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; Compiling this file produces:
1 ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
2 ;
3 implementation
4
5 declare int "SIM"(sbyte* %A, sbyte* %B, int %M, int %N, int %K, [256 x int]* %V, int %Q, int %R, int %nseq)
6
7 void "foo"()
8 begin
9 bb0: ;[#uses=0]
10 %V = alloca [256 x int], uint 256 ; <[256 x int]*> [#uses=1]
11 call int %SIM( sbyte* null, sbyte* null, int 0, int 0, int 0, [256 x int]* %V, int 0, int 0, int 2 ) ; :0 [#uses=0]
12 ret void
13 end
14
15
0 ; Compiling this file produces:
1 ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
2 ;
3 implementation
4
5 declare int "SIM"(sbyte* %A, sbyte* %B, int %M, int %N, int %K, [256 x int]* %V, int %Q, int %R, int %nseq)
6
7 void "foo"()
8 begin
9 bb0: ;[#uses=0]
10 %V = alloca [256 x int], uint 256 ; <[256 x int]*> [#uses=1]
11 call int %SIM( sbyte* null, sbyte* null, int 0, int 0, int 0, [256 x int]* %V, int 0, int 0, int 2 ) ; :0 [#uses=0]
12 ret void
13 end
14
15