xref: /llvm-project/llvm/test/CodeGen/ARM/fast-isel-crash2.ll (revision 3a8d9625b02d1118b884e18c15ef3db8ee54f973)
1; RUN: llc < %s -O0 -mtriple=thumbv7-apple-darwin
2; rdar://9515076
3; (Make sure this doesn't crash.)
4
5define i32 @test(i32 %i) {
6  %t = trunc i32 %i to i4
7  %r = sext i4 %t to i32
8  ret i32 %r
9}
10