From 49fdfdb1e5f7b025bf8a4e81e7558b49f0005dd4 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 6 Jun 2007 05:53:50 +0000 Subject: [PATCH] Ignore llvm.noinline 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 | 2 +- test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr | 2 +- test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp | 2 +- test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr b/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr index 2b3b8b17974..0c1395dea0e 100644 --- a/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr +++ b/test/C++Frontend/2003-11-09-ConstructorTypeSafety.cpp.tr @@ -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; diff --git a/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr b/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr index 30290826e75..0bfb5dc54e8 100644 --- a/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr +++ b/test/C++Frontend/2003-11-18-MemberInitializationCasting.cpp.tr @@ -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) {} diff --git a/test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp b/test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp index 7711cff6d36..eac77842748 100644 --- a/test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp +++ b/test/C++Frontend/2005-07-21-VirtualBaseAccess.cpp @@ -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*); diff --git a/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr b/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr index 51e66c9b839..1f302306421 100644 --- a/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr +++ b/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr @@ -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) { -- 2.34.1