llvm-6502/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll
Tanya Lattner 2393a24fed Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:08:26 +00:00

19 lines
522 B
LLVM

; RUN: llvm-as -f %s -o - | llc
; Compiling this file produces:
; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
;
implementation
declare int "SIM"(sbyte* %A, sbyte* %B, int %M, int %N, int %K, [256 x int]* %V, int %Q, int %R, int %nseq)
void "foo"()
begin
bb0: ;[#uses=0]
%V = alloca [256 x int], uint 256 ; <[256 x int]*> [#uses=1]
call int %SIM( sbyte* null, sbyte* null, int 0, int 0, int 0, [256 x int]* %V, int 0, int 0, int 2 ) ; <int>:0 [#uses=0]
ret void
end