llvm.org GIT mirror llvm / release_21 test / CodeGen / PowerPC / 2005-08-12-rlwimi-crash.ll
release_21

Tree @release_21 (Download .tar.gz)

2005-08-12-rlwimi-crash.ll @release_21raw · history · blame

; this should not crash the ppc backend

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32

uint %test( int %j.0.0.i) {
  %tmp.85.i = and int %j.0.0.i, 7
  %tmp.161278.i = cast int %tmp.85.i to uint
  %tmp.5.i77.i = shr uint %tmp.161278.i, ubyte 3
  ret uint %tmp.5.i77.i
}