For PR1319: Upgrade to new test harness.
[oota-llvm.git] / test / CodeGen / PowerPC / seteq-0.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | \
2 ; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
3 ; RUN:   grep {srwi r., r., 5}
4
5 int %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 }