diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-16 05:58:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-16 05:58:24 +0000 |
commit | 7523a107d907fe8eb470681b62139bb0360e9559 (patch) | |
tree | 9330bcf2f04679b1c3d4d8caa56f1c694cde6fba /test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll | |
parent | 61b064759dd84746069dcd0ee83584f72b4fb7f4 (diff) |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll')
-rw-r--r-- | test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll b/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll new file mode 100644 index 0000000000..f43d5db245 --- /dev/null +++ b/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll @@ -0,0 +1,16 @@ +; 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 + + |