2012-01-16 16:56:09 +08:00
|
|
|
; RUN: %lli %s > /dev/null
|
2011-08-27 07:39:30 +08:00
|
|
|
; XFAIL: arm
|
2004-11-07 07:32:43 +08:00
|
|
|
|
2003-08-16 06:36:55 +08:00
|
|
|
; This testcase failed to work because two variable sized allocas confused the
|
|
|
|
; local register allocator.
|
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
define i32 @main(i32 %X) {
|
|
|
|
%A = alloca i32, i32 %X ; <i32*> [#uses=0]
|
|
|
|
%B = alloca float, i32 %X ; <float*> [#uses=0]
|
|
|
|
ret i32 0
|
2003-08-16 06:36:55 +08:00
|
|
|
}
|
2008-03-10 15:21:50 +08:00
|
|
|
|