1 ; For PR1261. Before bit accurate type support in InstCombine, this would
2 ; turn the sext into a zext.
3 ; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep sext
6 define i16 @test(i31 %zzz) {
8 %A = sext i31 %zzz to i32
11 %D = trunc i32 %C to i16