llvm-mirror/test/CodeGen/ARM/2008-07-24-CodeGenPrepCrash.ll

10 lines
192 B
LLVM

; RUN: llvm-as < %s | llc -march=arm
; PR2589
define void @main({ i32 }*) {
entry:
%sret1 = alloca { i32 } ; <{ i32 }*> [#uses=1]
load { i32 }* %sret1 ; <{ i32 }>:1 [#uses=0]
ret void
}