Check that the right eh personality function is used.
[oota-llvm.git] / test / CodeGen / Generic / 2002-04-16-StackFrameSizeAlignment.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc
2
3 ; Compiling this file produces:
4 ; Sparc.cpp:91: failed assertion `(offset - OFFSET) % getStackFrameSizeAlignment() == 0'
5 ;
6 implementation
7
8 declare int "SIM"(sbyte* %A, sbyte* %B, int %M, int %N, int %K, [256 x int]* %V, int %Q, int %R, int %nseq)
9
10 void "foo"()
11 begin
12 bb0:                                    ;[#uses=0]
13         %V = alloca [256 x int], uint 256               ; <[256 x int]*> [#uses=1]
14         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]
15         ret void
16 end
17
18