view test/ExecutionEngine/2003-08-15-AllocaAssertion.ll @ 35:503e14e069e4

update to LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 23:38:21 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

; RUN: %lli %s > /dev/null
; XFAIL: arm

; This testcase failed to work because two variable sized allocas confused the
; local register allocator.

define i32 @main(i32 %X) {
	%A = alloca i32, i32 %X		; <i32*> [#uses=0]
	%B = alloca float, i32 %X		; <float*> [#uses=0]
	ret i32 0
}