diff options
author | Duncan Sands <baldrick@free.fr> | 2007-08-23 17:22:50 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-08-23 17:22:50 +0000 |
commit | 57e4785123d830cfaa827474485596c9943cd2ae (patch) | |
tree | ecbae2adf83ded092efc5ca3142d94eee943e690 | |
parent | 9e43d6316f65360ad659da9e6a5c91d5a3e1c069 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41326 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CFrontend/2007-08-22-CTTZ.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/2007-08-22-CTTZ.c b/test/CFrontend/2007-08-22-CTTZ.c index 8687a73066..9e74f24cdc 100644 --- a/test/CFrontend/2007-08-22-CTTZ.c +++ b/test/CFrontend/2007-08-22-CTTZ.c @@ -1,5 +1,5 @@ -// 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} +// 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); |