blob: aa06299288469c59f918ddbba05e51e5f3c0f85e [file] [log] [blame]
; RUN: llc < %s -O0 -mtriple=thumbv7-apple-darwin
; rdar://9515076
; (Make sure this doesn't crash.)
define i32 @test(i32 %i) {
%t = trunc i32 %i to i4
%r = sext i4 %t to i32
ret i32 %r
}