2006-12-19-UndefBug.ll 136 B

12345678
  1. ; RUN: opt < %s -sccp -S | \
  2. ; RUN: grep "ret i1 false"
  3. define i1 @foo() {
  4. %X = and i1 false, undef ; <i1> [#uses=1]
  5. ret i1 %X
  6. }