blob: 6c2f34095f6096e9f904484515e57c352b695790 [file] [log] [blame]
Daniel Dunbar46a27162010-11-13 00:28:01 +00001; RUN: lli %s > /dev/null
Andrew Trick0005cc72011-08-26 23:39:30 +00002; XFAIL: arm
Tanya Lattnere9789ef2004-11-06 23:32:43 +00003
Chris Lattnerf2d49162003-08-15 22:36:55 +00004; This testcase failed to work because two variable sized allocas confused the
5; local register allocator.
6
Tanya Lattnerceca1942008-03-10 07:21:50 +00007define i32 @main(i32 %X) {
8 %A = alloca i32, i32 %X ; <i32*> [#uses=0]
9 %B = alloca float, i32 %X ; <float*> [#uses=0]
10 ret i32 0
Chris Lattnerf2d49162003-08-15 22:36:55 +000011}
Tanya Lattnerceca1942008-03-10 07:21:50 +000012