mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
46a2716910
- Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118952 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
270 B
LLVM
12 lines
270 B
LLVM
; RUN: lli %s > /dev/null
|
|
|
|
; 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
|
|
}
|
|
|