Ignore llvm.noinline
authorTanya Lattner <tonic@nondot.org>
Wed, 6 Jun 2007 05:53:50 +0000 (05:53 +0000)
committerTanya Lattner <tonic@nondot.org>
Wed, 6 Jun 2007 05:53:50 +0000 (05:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37460 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr
test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr
test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp
test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr

index 2b3b8b179747f3c7c7ee3fb6024a0aa365eb25ef..0c1395dea0effc94e48cffe5fb0ea059bd8130b6 100644 (file)
@@ -1,6 +1,6 @@
 // The code generated for this testcase should be completely typesafe!
 // RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | \
-// RUN:   notcast
+// RUN:    grep -v llvm.noinline | notcast
 
 struct contained {
   unsigned X;
index 30290826e75ba10c87b7e783087f08697e5a3381..0bfb5dc54e8b227aef51d386b16ce6b34599b5aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
+// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | grep -v llvm.noinline | notcast
 
 struct A {
         A() : i(0) {}
index 7711cff6d36093f27426fb74251b893adca9575f..eac7784274818e988d468a8317be08be92ce5652 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | not grep cast
+// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | grep -v llvm.noinline | not grep cast
 
 void foo(int*);
 
index 51e66c9b83952404694e9b94b3bfad527588cb7d..1f3023064219748f405cd3839bd978a6a74e3ebe 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
+/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | grep -v llvm.noinline | not grep bitcast
  */
 
 void test(int* array, long long N) {