blob: d77b9e15596eeeaa19d57d37701ae3954b27a128 [file] [log] [blame]
Tanya Lattner3f047732008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc
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