llvm.org GIT mirror llvm / release_22 test / Transforms / ConstProp / 2006-12-01-TruncBoolBug.ll
release_22

Tree @release_22 (Download .tar.gz)

2006-12-01-TruncBoolBug.ll @release_22raw · history · blame

1
2
3
4
5
6
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
; RUN:   grep {ret i1 false}
bool %test() {
  %X = trunc uint 320 to bool
  ret bool %X
}