[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / 2008-07-24-CodeGenPrepCrash.ll
blobcf98d7f91df06fcc0a6d0ab7b9643284a21f9d0f
1 ; RUN: llc -mtriple=arm-eabi %s -o /dev/null
2 ; PR2589
4 define void @main({ i32 }*) {
5 entry:
6         %sret1 = alloca { i32 }         ; <{ i32 }*> [#uses=1]
7         load { i32 }, { i32 }* %sret1           ; <{ i32 }>:1 [#uses=0]
8         ret void