1 ; RUN: llc < %s -march=x86 -mcpu=yonah | grep {testl.*%e.x.*%e.x}
4 ; We don't want to fold the and into the test, because the and clobbers its
5 ; input forcing a copy. We want:
22 define i32 @t1(i32 %X) nounwind {
24 %tmp2 = and i32 %X, 15 ; <i32> [#uses=2]
25 %tmp4 = icmp eq i32 %tmp2, 0 ; <i1> [#uses=1]
26 %retval = select i1 %tmp4, i32 %tmp2, i32 42 ; <i32> [#uses=1]