mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
06c1806166
llvm-svn: 36110
13 lines
288 B
LLVM
13 lines
288 B
LLVM
; Make sure this testcase does not use ctpop
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | not grep -i ctpop
|
|
|
|
declare ulong %llvm.ctlz.i64(ulong)
|
|
|
|
implementation ; Functions:
|
|
|
|
ulong %bar(ulong %x) {
|
|
entry:
|
|
%tmp.1 = call ulong %llvm.ctlz.i64( ulong %x )
|
|
ret ulong %tmp.1
|
|
}
|