projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cccd9eb951ba2014b12783cd9a410d93d26471bb
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
fast-isel-crash2.ll
1
; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin
2
; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=armv7-linux-gnueabi
3
; rdar://9515076
4
; (Make sure this doesn't crash.)
5
6
define i32 @test(i32 %i) {
7
%t = trunc i32 %i to i4
8
%r = sext i4 %t to i32
9
ret i32 %r
10
}