zeroext-and-reduce.ll 233 B

12345678910
  1. ; RUN: opt < %s -instcombine -S | \
  2. ; RUN: grep "and i32 %Y, 8"
  3. define i32 @test1(i8 %X) {
  4. %Y = zext i8 %X to i32 ; <i32> [#uses=1]
  5. %Z = and i32 %Y, 65544 ; <i32> [#uses=1]
  6. ret i32 %Z
  7. }