blob: 751ed407456d0a13570a19e0425426eb20846f13 [file] [log] [blame]
Dan Gohmanc8054d92009-09-09 00:09:15 +00001; RUN: llc < %s
Tanya Lattner16b222c2004-11-06 23:08:26 +00002
Chris Lattner26efe0b2002-04-16 05:58:24 +00003; Compiling this file produces:
4; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
5;
Tanya Lattner3f047732008-02-19 01:41:04 +00006declare i32 @SIM(i8*, i8*, i32, i32, i32, [256 x i32]*, i32, i32, i32)
Chris Lattner26efe0b2002-04-16 05:58:24 +00007
Tanya Lattner3f047732008-02-19 01:41:04 +00008define void @foo() {
9bb0:
10 %V = alloca [256 x i32], i32 256 ; <[256 x i32]*> [#uses=1]
11 call i32 @SIM( i8* null, i8* null, i32 0, i32 0, i32 0, [256 x i32]* %V, i32 0, i32 0, i32 2 ) ; <i32>:0 [#uses=0]
12 ret void
13}
Chris Lattner26efe0b2002-04-16 05:58:24 +000014