You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
288 B

; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin
; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=armv7-linux-gnueabi
; 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
}