; 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
}