mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 06:06:27 +00:00
57e4785123
llvm.cttz.i64 because of the declaration of the intrinsic. Also, emit-llvm is automatic and doesn't need to be specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41326 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
180 B
C
7 lines
180 B
C
// RUN: %llvmgcc -O2 -S -o - %s | grep {llvm.cttz.i64} | count 2
|
|
// RUN: %llvmgcc -O2 -S -o - %s | not grep {lshr}
|
|
|
|
int bork(unsigned long long x) {
|
|
return __builtin_ctzll(x);
|
|
}
|