1 ; RUN: llc < %s -O0 -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 } 10