mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
3ddfd4fb7e
llvm-svn: 22899
9 lines
181 B
LLVM
9 lines
181 B
LLVM
; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwinm
|
|
|
|
int %setcc_one_or_zero(int* %a) {
|
|
entry:
|
|
%tmp.1 = setne int* %a, null
|
|
%inc.1 = cast bool %tmp.1 to int
|
|
ret int %inc.1
|
|
}
|