2006-12-01-TruncBoolBug.ll 171 B

1234567
  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
  6. }