Tanya Lattner | e9789ef | 2004-11-06 23:32:43 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as -f %s -o %t.bc |
2 | ; RUN: lli %t.bc > /dev/null | ||||
3 | |||||
Chris Lattner | f2d4916 | 2003-08-15 22:36:55 +0000 | [diff] [blame] | 4 | ; This testcase failed to work because two variable sized allocas confused the |
5 | ; local register allocator. | ||||
6 | |||||
7 | int %main(uint %X) { | ||||
8 | %A = alloca uint, uint %X | ||||
9 | |||||
10 | %B = alloca float, uint %X | ||||
11 | ret int 0 | ||||
12 | } |