1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/CodeGen/ARM/fast-isel-crash2.ll

11 lines
324 B
LLVM
Raw Normal View History

; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-apple-darwin
; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-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
}