blob: 00e9bf0710cca73ab68cc39450d36fea0f311cc5 [file] [log] [blame]
Reid Spencerd0e30dc2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm
Nate Begeman04ae8732005-04-13 21:45:13 +00002
3int %setcc_one_or_zero(int* %a) {
4entry:
5 %tmp.1 = setne int* %a, null
6 %inc.1 = cast bool %tmp.1 to int
7 ret int %inc.1
8}