summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/flatten.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2019-06-19 17:41:30 +0000
committerLeonard Chan <leonardchan@google.com>2019-06-19 17:41:30 +0000
commite6d2c8dde68936b19fe5fd95b5c96878993cc278 (patch)
tree6e1eb31344db06aea0746e9f8f53bf52398a5903 /clang/test/CodeGenCXX/flatten.cpp
parent670778c762439b7b75ee10f2fb0dacbfe082efcd (diff)
downloadbcm5719-llvm-e6d2c8dde68936b19fe5fd95b5c96878993cc278.tar.gz
bcm5719-llvm-e6d2c8dde68936b19fe5fd95b5c96878993cc278.zip
[clang][NewPM] Fixing remaining -O0 tests that are broken under new PM
- CodeGen/flatten.c will fail under new PM becausec the new PM AlwaysInliner seems to intentionally inline functions but not call sites marked with alwaysinline (D23299) - Tests that check remarks happen to check them for the inliner which is not turned on at O0. These tests just check that remarks work, but we can make separate tests for the new PM with -O1 so we can turn on the inliner and check the remarks with minimal changes. Differential Revision: https://reviews.llvm.org/D62225 llvm-svn: 363846
Diffstat (limited to 'clang/test/CodeGenCXX/flatten.cpp')
-rw-r--r--clang/test/CodeGenCXX/flatten.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/flatten.cpp b/clang/test/CodeGenCXX/flatten.cpp
index 9e0f67f7898..b36c8ed6cee 100644
--- a/clang/test/CodeGenCXX/flatten.cpp
+++ b/clang/test/CodeGenCXX/flatten.cpp
@@ -1,3 +1,7 @@
+// UNSUPPORTED: experimental-new-pass-manager
+// See the comment for CodeGen/flatten.c on why this is unsupported with the new
+// PM.
+
// RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s
void f(void) {}
OpenPOWER on IntegriCloud