mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
55343ef7bb
llvm-svn: 132196
10 lines
195 B
LLVM
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
|
|
}
|