llvm.org GIT mirror llvm / d0848a6 test / CodeGen / ARM / fast-isel-crash2.ll
d0848a6

Tree @d0848a6 (Download .tar.gz)

fast-isel-crash2.ll @d0848a6raw · history · blame

1
2
3
4
5
6
7
8
9
; 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
}