Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
      2 ; RUN:   grep {srwi r., r., 5}
      3 
      4 define i32 @eq0(i32 %a) {
      5         %tmp.1 = icmp eq i32 %a, 0              ; <i1> [#uses=1]
      6         %tmp.2 = zext i1 %tmp.1 to i32          ; <i32> [#uses=1]
      7         ret i32 %tmp.2
      8 }
      9 
     10