blob: a574100ca90d8aa69731a368ffb615f73eb12793 [file] [log] [blame]
Reid Spencerc58ef012007-04-15 21:17:45 +00001; RUN: llvm-upgrade < %s | llvm-as | \
2; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
3; RUN: grep {srwi r., r., 5}
Chris Lattner135a0422005-08-24 16:48:49 +00004
5int %eq0(int %a) {
6 %tmp.1 = seteq int %a, 0 ; <bool> [#uses=1]
7 %tmp.2 = cast bool %tmp.1 to int ; <int> [#uses=1]
8 ret int %tmp.2
9}