xref: /llvm-project/llvm/test/CodeGen/ARM/fast-isel-crash2.ll (revision 99bd2ae47996a3f7510ecf8c9e0442c7369d5046)
1; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -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