mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix this testcase: there are two matches for
llvm.cttz.i64 because of the declaration of the intrinsic. Also, emit-llvm is automatic and doesn't need to be specified. llvm-svn: 41326
This commit is contained in:
parent
9b22d7527c
commit
30440c6c4e
@ -1,5 +1,5 @@
|
|||||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep {llvm.cttz.i64} | count 1
|
// RUN: %llvmgcc -O2 -S -o - %s | grep {llvm.cttz.i64} | count 2
|
||||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | not grep {lshr}
|
// RUN: %llvmgcc -O2 -S -o - %s | not grep {lshr}
|
||||||
|
|
||||||
int bork(unsigned long long x) {
|
int bork(unsigned long long x) {
|
||||||
return __builtin_ctzll(x);
|
return __builtin_ctzll(x);
|
||||||
|
Loading…
Reference in New Issue
Block a user