fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git] / test / Transforms / SCCP / 2006-12-19-UndefBug.ll
blobec69ce05fe940367cd06a2bec2398183105f3d77
1 ; RUN: opt < %s -sccp -S | \
2 ; RUN:   grep {ret i1 false}
4 define i1 @foo() {
5         %X = and i1 false, undef                ; <i1> [#uses=1]
6         ret i1 %X