1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/ARM/fast-isel-crash2.ll
Eli Friedman 55343ef7bb And fix the test in r132194.
llvm-svn: 132196
2011-05-27 18:14:28 +00:00

10 lines
195 B
LLVM

; 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
}