1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2 ; RUN: not grep bitcast
4 bool %test1(uint %val) {
5 %t1 = bitcast uint %val to int
7 %t3 = trunc int %t2 to bool
11 short %test1(uint %val) {
12 %t1 = bitcast uint %val to int
14 %t3 = trunc int %t2 to short