xref: /aosp_15_r20/external/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: %lli %s > /dev/null
2
3; This testcase failed to work because two variable sized allocas confused the
4; local register allocator.
5
6define i32 @main(i32 %X) {
7	%A = alloca i32, i32 %X		; <i32*> [#uses=0]
8	%B = alloca float, i32 %X		; <float*> [#uses=0]
9	ret i32 0
10}
11
12