Fix this testcase: there are two matches for
authorDuncan Sands <baldrick@free.fr>
Thu, 23 Aug 2007 17:22:50 +0000 (17:22 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 23 Aug 2007 17:22:50 +0000 (17:22 +0000)
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

test/CFrontend/2007-08-22-CTTZ.c

index 8687a730666b9d45dfd9e5b070f85710ecefaff9..9e74f24cdcb8ae00fd228ce9213731632ba64c41 100644 (file)
@@ -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);