blob: db57064d038881cedd74603c63bb27e29108f038 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'srwi r., r., 5'
Chris Lattner135a0422005-08-24 16:48:49 +00002
3int %eq0(int %a) {
4 %tmp.1 = seteq int %a, 0 ; <bool> [#uses=1]
5 %tmp.2 = cast bool %tmp.1 to int ; <int> [#uses=1]
6 ret int %tmp.2
7}