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

Tree @release_34 (Download .tar.gz)

fast-isel-crash2.ll @release_34

ed788b6
fe532ad
a4d487f
 
 
 
45c4c4f
a4d487f
 
 
; 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
}