Revert r182937 and r182877.
[oota-llvm.git] / test / CodeGen / ARM / fast-isel-crash2.ll
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
5 define i32 @test(i32 %i) {
6   %t = trunc i32 %i to i4
7   %r = sext i4 %t to i32
8   ret i32 %r
9 }