2013-04-08 18:41:23 +00:00
|
|
|
; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin
|
2011-06-12 15:42:51 +00:00
|
|
|
; 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
|
|
|
|
}
|