mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Testcase for llvm.c* intrinsic failures.
llvm-svn: 41268
This commit is contained in:
parent
f275ac587b
commit
d3c8db882d
6
test/CFrontend/2007-08-22-CTTZ.c
Normal file
6
test/CFrontend/2007-08-22-CTTZ.c
Normal file
@ -0,0 +1,6 @@
|
||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep {llvm.cttz.i64} | count 1
|
||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | not grep {lshr}
|
||||
|
||||
int bork(unsigned long long x) {
|
||||
return __builtin_ctzll(x);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user