fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git] / test / Transforms / ConstProp / 2006-12-01-TruncBoolBug.ll
blobe46a875a7cfad9bd8aa338bd7562dd3d3b0a35f4
1 ; RUN: opt < %s -instcombine -S | \
2 ; RUN:   grep {ret i1 false}
3 define i1 @test() {
4         %X = trunc i32 320 to i1                ; <i1> [#uses=1]
5         ret i1 %X