[llvm-commits] [llvm] r41326 - /llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c

Duncan Sands baldrick at free.fr
Thu Aug 23 10:22:50 PDT 2007


Author: baldrick
Date: Thu Aug 23 12:22:50 2007
New Revision: 41326

URL: http://llvm.org/viewvc/llvm-project?rev=41326&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c

Modified: llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c?rev=41326&r1=41325&r2=41326&view=diff

==============================================================================
--- llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c (original)
+++ llvm/trunk/test/CFrontend/2007-08-22-CTTZ.c Thu Aug 23 12:22:50 2007
@@ -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);





More information about the llvm-commits mailing list