Index: clang/test/CMakeLists.txt =================================================================== --- clang/test/CMakeLists.txt +++ clang/test/CMakeLists.txt @@ -23,6 +23,7 @@ CLANG_ENABLE_ARCMT CLANG_ENABLE_STATIC_ANALYZER ENABLE_BACKTRACES + ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER HAVE_LIBZ LLVM_ENABLE_PER_TARGET_RUNTIME_DIR) Index: clang/test/CodeGen/aarch64-neon-across.c =================================================================== --- clang/test/CodeGen/aarch64-neon-across.c +++ clang/test/CodeGen/aarch64-neon-across.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s Index: clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c =================================================================== --- clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c +++ clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s Index: clang/test/CodeGen/aarch64-neon-fma.c =================================================================== --- clang/test/CodeGen/aarch64-neon-fma.c +++ clang/test/CodeGen/aarch64-neon-fma.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon -S -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s // Test new aarch64 intrinsics and types Index: clang/test/CodeGen/aarch64-neon-perm.c =================================================================== --- clang/test/CodeGen/aarch64-neon-perm.c +++ clang/test/CodeGen/aarch64-neon-perm.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s Index: clang/test/CodeGen/aarch64-neon-tbl.c =================================================================== --- clang/test/CodeGen/aarch64-neon-tbl.c +++ clang/test/CodeGen/aarch64-neon-tbl.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s Index: clang/test/CodeGen/aarch64-poly128.c =================================================================== --- clang/test/CodeGen/aarch64-poly128.c +++ clang/test/CodeGen/aarch64-poly128.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -disable-O0-optnone -ffp-contract=fast -emit-llvm -o - %s | opt -S -mem2reg \ Index: clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c =================================================================== --- clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c +++ clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon -target-feature +fullfp16 -target-feature +v8.2a\ // RUN: -fallow-half-arguments-and-returns -S -disable-O0-optnone -emit-llvm -o - %s \ // RUN: | opt -S -mem2reg \ Index: clang/test/CodeGen/aggregate-assign-call.c =================================================================== --- clang/test/CodeGen/aggregate-assign-call.c +++ clang/test/CodeGen/aggregate-assign-call.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O1 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=O1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O0 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=O0 // Index: clang/test/CodeGen/arm-neon-fma.c =================================================================== --- clang/test/CodeGen/arm-neon-fma.c +++ clang/test/CodeGen/arm-neon-fma.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple thumbv7-none-linux-gnueabihf \ // RUN: -target-abi aapcs \ // RUN: -target-cpu cortex-a7 \ Index: clang/test/CodeGen/arm-neon-numeric-maxmin.c =================================================================== --- clang/test/CodeGen/arm-neon-numeric-maxmin.c +++ clang/test/CodeGen/arm-neon-numeric-maxmin.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple thumbv8-linux-gnueabihf -target-cpu cortex-a57 -ffreestanding -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck %s #include Index: clang/test/CodeGen/arm-neon-vcvtX.c =================================================================== --- clang/test/CodeGen/arm-neon-vcvtX.c +++ clang/test/CodeGen/arm-neon-vcvtX.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple thumbv8-linux-gnueabihf -target-cpu cortex-a57 -ffreestanding -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck %s #include Index: clang/test/CodeGen/arm_acle.c =================================================================== --- clang/test/CodeGen/arm_acle.c +++ clang/test/CodeGen/arm_acle.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding -triple armv8-eabi -target-cpu cortex-a57 -O -S -emit-llvm -o - %s | FileCheck %s -check-prefix=ARM -check-prefix=AArch32 // RUN: %clang_cc1 -ffreestanding -triple aarch64-eabi -target-cpu cortex-a57 -target-feature +neon -target-feature +crc -target-feature +crypto -O -S -emit-llvm -o - %s | FileCheck %s -check-prefix=ARM -check-prefix=AArch64 Index: clang/test/CodeGen/available-externally-suppress.c =================================================================== --- clang/test/CodeGen/available-externally-suppress.c +++ clang/test/CodeGen/available-externally-suppress.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 %s | FileCheck %s // RUN: %clang_cc1 -O2 -fno-inline -emit-llvm -o - -triple x86_64-apple-darwin10 %s | FileCheck %s // RUN: %clang_cc1 -flto -O2 -fno-inline -emit-llvm -o - -triple x86_64-apple-darwin10 %s | FileCheck %s -check-prefix=LTO Index: clang/test/CodeGen/avx-builtins.c =================================================================== --- clang/test/CodeGen/avx-builtins.c +++ clang/test/CodeGen/avx-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -fms-extensions -fms-compatibility -ffreestanding %s -triple=x86_64-windows-msvc -target-feature +avx -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/avx512-reduceMinMaxIntrin.c =================================================================== --- clang/test/CodeGen/avx512-reduceMinMaxIntrin.c +++ clang/test/CodeGen/avx512-reduceMinMaxIntrin.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -O0 -triple=x86_64-apple-darwin -target-cpu skylake-avx512 -emit-llvm -o - -Wall -Werror | FileCheck %s #include Index: clang/test/CodeGen/avx512f-builtins.c =================================================================== --- clang/test/CodeGen/avx512f-builtins.c +++ clang/test/CodeGen/avx512f-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512f -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -fms-extensions -fms-compatibility -ffreestanding %s -triple=x86_64-windows-msvc -target-feature +avx512f -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/avx512vl-builtins.c =================================================================== --- clang/test/CodeGen/avx512vl-builtins.c +++ clang/test/CodeGen/avx512vl-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512f -target-feature +avx512vl -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/avx512vlbw-builtins.c =================================================================== --- clang/test/CodeGen/avx512vlbw-builtins.c +++ clang/test/CodeGen/avx512vlbw-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512bw -target-feature +avx512vl -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512bw -target-feature +avx512vl -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/builtin-movdir.c =================================================================== --- clang/test/CodeGen/builtin-movdir.c +++ clang/test/CodeGen/builtin-movdir.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding -Wall -pedantic -triple x86_64-unknown-unknown -target-feature +movdiri -target-feature +movdir64b %s -emit-llvm -o - | FileCheck %s --check-prefix=X86_64 --check-prefix=CHECK // RUN: %clang_cc1 -ffreestanding -Wall -pedantic -triple i386-unknown-unknown -target-feature +movdiri -target-feature +movdir64b %s -emit-llvm -o - | FileCheck %s --check-prefix=X86 --check-prefix=CHECK Index: clang/test/CodeGen/builtins-ppc-p9vector.c =================================================================== --- clang/test/CodeGen/builtins-ppc-p9vector.c +++ clang/test/CodeGen/builtins-ppc-p9vector.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -target-feature +altivec -target-feature +power9-vector \ // RUN: -triple powerpc64-unknown-unknown -emit-llvm %s \ Index: clang/test/CodeGen/builtins-ppc-vsx.c =================================================================== --- clang/test/CodeGen/builtins-ppc-vsx.c +++ clang/test/CodeGen/builtins-ppc-vsx.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx -triple powerpc64-unknown-unknown -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx -triple powerpc64le-unknown-unknown -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-LE Index: clang/test/CodeGen/callback_annotated.c =================================================================== --- clang/test/CodeGen/callback_annotated.c +++ clang/test/CodeGen/callback_annotated.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i386-unknown-unknown -fopenmp -O1 %s -emit-llvm -o - | FileCheck %s --check-prefix=RUN1 // RUN: %clang_cc1 -triple i386-unknown-unknown -fopenmp -O1 %s -emit-llvm -o - | FileCheck %s --check-prefix=RUN2 // RUN: %clang_cc1 -triple i386-unknown-unknown -fopenmp -O1 %s -emit-llvm -o - | opt -ipconstprop -S | FileCheck --check-prefix=IPCP %s Index: clang/test/CodeGen/cfi-icall-cross-dso.c =================================================================== --- clang/test/CodeGen/cfi-icall-cross-dso.c +++ clang/test/CodeGen/cfi-icall-cross-dso.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-unknown-linux -O1 \ // RUN: -fsanitize=cfi-icall -fsanitize-cfi-cross-dso \ // RUN: -emit-llvm -o - %s | FileCheck \ Index: clang/test/CodeGen/complex-math.c =================================================================== --- clang/test/CodeGen/complex-math.c +++ clang/test/CodeGen/complex-math.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 %s -O1 -emit-llvm -triple x86_64-unknown-unknown -o - | FileCheck %s --check-prefix=X86 // RUN: %clang_cc1 %s -O1 -emit-llvm -triple x86_64-pc-win64 -o - | FileCheck %s --check-prefix=X86 // RUN: %clang_cc1 %s -O1 -emit-llvm -triple i686-unknown-unknown -o - | FileCheck %s --check-prefix=X86 Index: clang/test/CodeGen/dllimport.c =================================================================== --- clang/test/CodeGen/dllimport.c +++ clang/test/CodeGen/dllimport.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s // RUN: %clang_cc1 -triple i686-windows-gnu -fms-extensions -emit-llvm -std=c11 -O0 -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GNU %s Index: clang/test/CodeGen/flatten.c =================================================================== --- clang/test/CodeGen/flatten.c +++ clang/test/CodeGen/flatten.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple=x86_64-linux-gnu %s -emit-llvm -o - | FileCheck %s void f(void) {} Index: clang/test/CodeGen/inline2.c =================================================================== --- clang/test/CodeGen/inline2.c +++ clang/test/CodeGen/inline2.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-GNU89 %s // RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-C99 %s Index: clang/test/CodeGen/lifetime.c =================================================================== --- clang/test/CodeGen/lifetime.c +++ clang/test/CodeGen/lifetime.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=O0 // RUN: %clang -S -emit-llvm -o - -O1 %s | FileCheck %s -check-prefix=O1 // RUN: %clang -S -emit-llvm -o - -O2 %s | FileCheck %s -check-prefix=O2 Index: clang/test/CodeGen/pgo-instrumentation.c =================================================================== --- clang/test/CodeGen/pgo-instrumentation.c +++ clang/test/CodeGen/pgo-instrumentation.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test if PGO instrumentation and use pass are invoked. // // Ensure Pass PGOInstrumentationGenPass is invoked. Index: clang/test/CodeGen/pgo-sample.c =================================================================== --- clang/test/CodeGen/pgo-sample.c +++ clang/test/CodeGen/pgo-sample.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test if PGO sample use passes are invoked. // // Ensure Pass PGOInstrumentationGenPass is invoked. Index: clang/test/CodeGen/sanitize-address-field-padding.cpp =================================================================== --- clang/test/CodeGen/sanitize-address-field-padding.cpp +++ clang/test/CodeGen/sanitize-address-field-padding.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test -fsanitize-address-field-padding // RUN: echo 'type:SomeNamespace::BlacklistedByName=field-padding' > %t.type.blacklist // RUN: echo 'src:*sanitize-address-field-padding.cpp=field-padding' > %t.file.blacklist Index: clang/test/CodeGen/split-debug-single-file.c =================================================================== --- clang/test/CodeGen/split-debug-single-file.c +++ clang/test/CodeGen/split-debug-single-file.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: x86-registered-target // Testing to ensure -enable-split-dwarf=single allows to place .dwo sections into regular output object. Index: clang/test/CodeGen/sse-builtins.c =================================================================== --- clang/test/CodeGen/sse-builtins.c +++ clang/test/CodeGen/sse-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -fms-extensions -fms-compatibility -ffreestanding %s -triple=x86_64-windows-msvc -target-feature +sse -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/sse2-builtins.c =================================================================== --- clang/test/CodeGen/sse2-builtins.c +++ clang/test/CodeGen/sse2-builtins.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse2 -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -fms-extensions -fms-compatibility -ffreestanding %s -triple=x86_64-windows-msvc -target-feature +sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s Index: clang/test/CodeGen/tbaa-for-vptr.cpp =================================================================== --- clang/test/CodeGen/tbaa-for-vptr.cpp +++ clang/test/CodeGen/tbaa-for-vptr.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - -fsanitize=thread %s | FileCheck %s --check-prefixes=CHECK,OLD-PATH // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - -O1 %s | FileCheck %s --check-prefixes=CHECK,OLD-PATH // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - -O1 -relaxed-aliasing -fsanitize=thread %s | FileCheck %s --check-prefixes=CHECK,OLD-PATH Index: clang/test/CodeGen/x86_64-instrument-functions.c =================================================================== --- clang/test/CodeGen/x86_64-instrument-functions.c +++ clang/test/CodeGen/x86_64-instrument-functions.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-unknown-unknown -S -finstrument-functions -O2 -o - %s | FileCheck %s // RUN: %clang_cc1 -triple x86_64-unknown-unknown -S -finstrument-functions-after-inlining -O2 -o - %s | FileCheck -check-prefix=NOINLINE %s Index: clang/test/CodeGenCXX/atomicinit.cpp =================================================================== --- clang/test/CodeGenCXX/atomicinit.cpp +++ clang/test/CodeGenCXX/atomicinit.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 %s -emit-llvm -O1 -o - -triple=i686-apple-darwin9 -std=c++11 | FileCheck %s // CHECK-DAG: @PR22043 = local_unnamed_addr global i32 0, align 4 Index: clang/test/CodeGenCXX/cfi-speculative-vtable.cpp =================================================================== --- clang/test/CodeGenCXX/cfi-speculative-vtable.cpp +++ clang/test/CodeGenCXX/cfi-speculative-vtable.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test that we don't emit a bit set entry for a speculative (available_externally) vtable. // This does not happen in the Microsoft ABI. // RUN: %clang_cc1 -triple x86_64-unknown-linux -O1 -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -emit-llvm -o - %s | FileCheck %s Index: clang/test/CodeGenCXX/conditional-temporaries.cpp =================================================================== --- clang/test/CodeGenCXX/conditional-temporaries.cpp +++ clang/test/CodeGenCXX/conditional-temporaries.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: amdgpu-registered-target // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -O2 -disable-llvm-passes | FileCheck %s --check-prefixes=CHECK,CHECK-NOOPT // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -O2 | FileCheck %s --check-prefixes=CHECK,CHECK-OPT Index: clang/test/CodeGenCXX/debug-info-class-optzns.cpp =================================================================== --- clang/test/CodeGenCXX/debug-info-class-optzns.cpp +++ clang/test/CodeGenCXX/debug-info-class-optzns.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-unknown_unknown -emit-llvm -debug-info-kind=limited %s -O1 -o - | FileCheck %s // Ensure class definitions are not emitted to debug info just because the Index: clang/test/CodeGenCXX/dllimport-members.cpp =================================================================== --- clang/test/CodeGenCXX/dllimport-members.cpp +++ clang/test/CodeGenCXX/dllimport-members.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i686-windows-msvc -fms-compatibility -emit-llvm -std=c++1y -O0 -o - %s -DMSABI | FileCheck --check-prefix=MSC --check-prefix=M32 %s // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-compatibility -emit-llvm -std=c++1y -O0 -o - %s -DMSABI | FileCheck --check-prefix=MSC --check-prefix=M64 %s // RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm -std=c++1y -O0 -o - %s | FileCheck --check-prefix=GNU --check-prefix=G32 %s Index: clang/test/CodeGenCXX/dllimport.cpp =================================================================== --- clang/test/CodeGenCXX/dllimport.cpp +++ clang/test/CodeGenCXX/dllimport.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M32 %s // RUN: %clang_cc1 -triple x86_64-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -DMSABI -w | FileCheck --check-prefix=MSC --check-prefix=M64 %s // RUN: %clang_cc1 -triple i686-windows-gnu -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - %s -w | FileCheck --check-prefix=GNU --check-prefix=G32 %s Index: clang/test/CodeGenCXX/dso-local-executable.cpp =================================================================== --- clang/test/CodeGenCXX/dso-local-executable.cpp +++ clang/test/CodeGenCXX/dso-local-executable.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-pc-linux -mrelocation-model static -O1 -emit-llvm %s -o - | FileCheck --check-prefix=STATIC %s // RUN: %clang_cc1 -triple x86_64-pc-linux -mrelocation-model static -fno-plt -O1 -emit-llvm %s -o - | FileCheck --check-prefix=NOPLT %s // RUN: %clang_cc1 -triple x86_64-w64-mingw32 -O1 -emit-llvm %s -o - | FileCheck --check-prefix=MINGW %s Index: clang/test/CodeGenCXX/flatten.cpp =================================================================== --- clang/test/CodeGenCXX/flatten.cpp +++ clang/test/CodeGenCXX/flatten.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s void f(void) {} Index: clang/test/CodeGenCXX/init-invariant.cpp =================================================================== --- clang/test/CodeGenCXX/init-invariant.cpp +++ clang/test/CodeGenCXX/init-invariant.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-O0 // RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -O1 -o - | FileCheck %s Index: clang/test/CodeGenCXX/member-function-pointer-calls.cpp =================================================================== --- clang/test/CodeGenCXX/member-function-pointer-calls.cpp +++ clang/test/CodeGenCXX/member-function-pointer-calls.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -O3 -o - | FileCheck %s // RUN: %clang_cc1 %s -triple=x86_64-windows-gnu -emit-llvm -o - | FileCheck %s -check-prefix MINGW64 struct A { Index: clang/test/CodeGenCXX/merge-functions.cpp =================================================================== --- clang/test/CodeGenCXX/merge-functions.cpp +++ clang/test/CodeGenCXX/merge-functions.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -O1 -fmerge-functions -emit-llvm -o - -x c++ < %s | FileCheck %s -implicit-check-not=_ZN1A1gEiPi Index: clang/test/CodeGenCXX/nrvo.cpp =================================================================== --- clang/test/CodeGenCXX/nrvo.cpp +++ clang/test/CodeGenCXX/nrvo.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -O1 -o - %s | FileCheck %s // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -O1 -fcxx-exceptions -fexceptions -std=c++03 -o - %s | FileCheck --check-prefixes=CHECK-EH,CHECK-EH-03 %s // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -O1 -fcxx-exceptions -fexceptions -std=c++11 -o - %s | FileCheck --check-prefixes=CHECK-EH,CHECK-EH-11 %s Index: clang/test/CodeGenCXX/sanitize-dtor-nontrivial-virtual-base.cpp =================================================================== --- clang/test/CodeGenCXX/sanitize-dtor-nontrivial-virtual-base.cpp +++ clang/test/CodeGenCXX/sanitize-dtor-nontrivial-virtual-base.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -fsanitize=memory -O0 -fsanitize-memory-use-after-dtor -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -fsanitize=memory -O1 -fsanitize-memory-use-after-dtor -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s Index: clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp =================================================================== --- clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp +++ clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -O1 -triple %itanium_abi_triple -emit-llvm -o - -fvisibility hidden %s | FileCheck %s template Index: clang/test/CodeGenObjC/os_log.m =================================================================== --- clang/test/CodeGenObjC/os_log.m +++ clang/test/CodeGenObjC/os_log.m @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 %s -emit-llvm -o - -triple x86_64-darwin-apple -fobjc-arc -O2 | FileCheck %s // RUN: %clang_cc1 %s -emit-llvm -o - -triple x86_64-darwin-apple -fobjc-arc -O0 | FileCheck %s -check-prefix=CHECK-O0 Index: clang/test/CodeGenObjCXX/nrvo.mm =================================================================== --- clang/test/CodeGenObjCXX/nrvo.mm +++ clang/test/CodeGenObjCXX/nrvo.mm @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -emit-llvm -o - -fblocks %s -O1 -triple x86_64-apple-darwin10.0.0 -fobjc-runtime=macosx-fragile-10.5 | FileCheck %s // PR10835 / Index: clang/test/CodeGenOpenCL/convergent.cl =================================================================== --- clang/test/CodeGenOpenCL/convergent.cl +++ clang/test/CodeGenOpenCL/convergent.cl @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple spir-unknown-unknown -emit-llvm %s -o - | opt -instnamer -S | FileCheck -enable-var-scope %s // This is initially assumed convergent, but can be deduced to not require it. Index: clang/test/CoverageMapping/unused_names.c =================================================================== --- clang/test/CoverageMapping/unused_names.c +++ clang/test/CoverageMapping/unused_names.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -main-file-name unused_names.c -o - %s > %t // RUN: FileCheck -input-file %t %s // RUN: FileCheck -check-prefix=SYSHEADER -input-file %t %s Index: clang/test/Driver/asan.c =================================================================== --- clang/test/Driver/asan.c +++ clang/test/Driver/asan.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang -target i386-unknown-linux -fsanitize=address %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-ASAN // RUN: %clang -O1 -target i386-unknown-linux -fsanitize=address %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-ASAN // RUN: %clang -O2 -target i386-unknown-linux -fsanitize=address %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-ASAN Index: clang/test/Driver/esan.c =================================================================== --- clang/test/Driver/esan.c +++ clang/test/Driver/esan.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang -target x86_64-unknown-linux -fsanitize=efficiency-cache-frag %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=efficiency-cache-frag %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=efficiency-cache-frag %s -S -emit-llvm -o - | FileCheck %s Index: clang/test/Driver/msan.c =================================================================== --- clang/test/Driver/msan.c +++ clang/test/Driver/msan.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN Index: clang/test/Driver/tsan.c =================================================================== --- clang/test/Driver/tsan.c +++ clang/test/Driver/tsan.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s Index: clang/test/Frontend/optimization-remark-line-directive.c =================================================================== --- clang/test/Frontend/optimization-remark-line-directive.c +++ clang/test/Frontend/optimization-remark-line-directive.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // This file tests -Rpass diagnostics together with #line // directives. We cannot map #line directives back to // a SourceLocation. Index: clang/test/Frontend/optimization-remark-with-hotness.c =================================================================== --- clang/test/Frontend/optimization-remark-with-hotness.c +++ clang/test/Frontend/optimization-remark-with-hotness.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Generate instrumentation and sampling profile data. // RUN: llvm-profdata merge \ // RUN: %S/Inputs/optimization-remark-with-hotness.proftext \ Index: clang/test/Frontend/optimization-remark.c =================================================================== --- clang/test/Frontend/optimization-remark.c +++ clang/test/Frontend/optimization-remark.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // This file tests the -Rpass family of flags (-Rpass, -Rpass-missed // and -Rpass-analysis) with the inliner. The test is designed to // always trigger the inliner, so it should be independent of the Index: clang/test/Misc/pr32207.c =================================================================== --- clang/test/Misc/pr32207.c +++ clang/test/Misc/pr32207.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // test for r305179 // RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | FileCheck %s // CHECK: *** IR Dump After Function Integration/Inlining *** Index: clang/test/OpenMP/for_codegen.cpp =================================================================== --- clang/test/OpenMP/for_codegen.cpp +++ clang/test/OpenMP/for_codegen.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-unknown-unknown -emit-llvm %s -fexceptions -fcxx-exceptions -o - -fsanitize-address-use-after-scope | FileCheck %s --check-prefix=CHECK --check-prefix=LIFETIME // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s Index: clang/test/Profile/c-captured.c =================================================================== --- clang/test/Profile/c-captured.c +++ clang/test/Profile/c-captured.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-captured.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck -allow-deprecated-dag-overlap -check-prefix=PGOGEN -check-prefix=PGOALL %s // RUN: llvm-profdata merge %S/Inputs/c-captured.proftext -o %t.profdata Index: clang/test/Profile/c-general.c =================================================================== --- clang/test/Profile/c-general.c +++ clang/test/Profile/c-general.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test instrumentation of general constructs in C. // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-general.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck -allow-deprecated-dag-overlap -check-prefix=PGOGEN %s Index: clang/test/Profile/c-generate.c =================================================================== --- clang/test/Profile/c-generate.c +++ clang/test/Profile/c-generate.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Check that the -fprofile-instrument-path= form works. // RUN: %clang_cc1 -main-file-name c-generate.c %s -o - -emit-llvm -fprofile-instrument=clang -fprofile-instrument-path=c-generate-test.profraw | FileCheck %s --check-prefix=PROF-INSTR-PATH // RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=none | FileCheck %s --check-prefix=PROF-INSTR-NONE Index: clang/test/Profile/c-indirect-call.c =================================================================== --- clang/test/Profile/c-indirect-call.c +++ clang/test/Profile/c-indirect-call.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Check the value profiling instrinsics emitted by instrumentation. // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-indirect-call.c %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling | FileCheck --check-prefix=NOEXT %s Index: clang/test/Profile/c-linkage-available_externally.c =================================================================== --- clang/test/Profile/c-linkage-available_externally.c +++ clang/test/Profile/c-linkage-available_externally.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Make sure instrumentation data from available_externally functions doesn't // get thrown out and are emitted with the expected linkage. // RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s Index: clang/test/Profile/c-linkage.c =================================================================== --- clang/test/Profile/c-linkage.c +++ clang/test/Profile/c-linkage.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Check that the profiling counters and data we create have the linkage we expect // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s Index: clang/test/Profile/c-ternary.c =================================================================== --- clang/test/Profile/c-ternary.c +++ clang/test/Profile/c-ternary.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-apple-macosx10.11.0 -x c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s // PR32019: Clang can lower some ternary operator expressions to select Index: clang/test/Profile/c-unreachable-after-switch.c =================================================================== --- clang/test/Profile/c-unreachable-after-switch.c +++ clang/test/Profile/c-unreachable-after-switch.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -O3 -triple x86_64-apple-macosx10.10 -main-file-name c-unreachable-after-switch.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s // CHECK: @[[C:__profc_foo]] = private global [3 x i64] zeroinitializer Index: clang/test/Profile/cxx-class.cpp =================================================================== --- clang/test/Profile/cxx-class.cpp +++ clang/test/Profile/cxx-class.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of C++ methods, constructors, and destructors. // RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=clang -triple %itanium_abi_triple > %tgen Index: clang/test/Profile/cxx-implicit.cpp =================================================================== --- clang/test/Profile/cxx-implicit.cpp +++ clang/test/Profile/cxx-implicit.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Ensure that implicit methods aren't instrumented. // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple %itanium_abi_triple -main-file-name cxx-implicit.cpp -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s Index: clang/test/Profile/cxx-indirect-call.cpp =================================================================== --- clang/test/Profile/cxx-indirect-call.cpp +++ clang/test/Profile/cxx-indirect-call.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Check the value profiling instrinsics emitted by instrumentation. // RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling -fexceptions -fcxx-exceptions -triple x86_64-apple-macosx10.9 | FileCheck %s Index: clang/test/Profile/cxx-lambda.cpp =================================================================== --- clang/test/Profile/cxx-lambda.cpp +++ clang/test/Profile/cxx-lambda.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of C++11 lambdas // RUN: %clang_cc1 -x c++ %s -triple %itanium_abi_triple -main-file-name cxx-lambda.cpp -std=c++11 -o - -emit-llvm -fprofile-instrument=clang > %tgen Index: clang/test/Profile/cxx-linkage.cpp =================================================================== --- clang/test/Profile/cxx-linkage.cpp +++ clang/test/Profile/cxx-linkage.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9.0 -emit-llvm -main-file-name cxx-linkage.cpp %s -o - -fprofile-instrument=clang | FileCheck %s // CHECK: @__profc__Z3foov = private global Index: clang/test/Profile/cxx-rangefor.cpp =================================================================== --- clang/test/Profile/cxx-rangefor.cpp +++ clang/test/Profile/cxx-rangefor.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of C++11 range-for // RUN: %clang_cc1 -x c++ %s -triple %itanium_abi_triple -main-file-name cxx-rangefor.cpp -std=c++11 -o - -emit-llvm -fprofile-instrument=clang > %tgen Index: clang/test/Profile/cxx-stmt-initializers.cpp =================================================================== --- clang/test/Profile/cxx-stmt-initializers.cpp +++ clang/test/Profile/cxx-stmt-initializers.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of C++17 statement initializers // RUN: %clang_cc1 -x c++ %s -triple %itanium_abi_triple -main-file-name cxx-stmt-initializers.cpp -std=c++1z -o - -emit-llvm -fprofile-instrument=clang > %tgen Index: clang/test/Profile/cxx-structors.cpp =================================================================== --- clang/test/Profile/cxx-structors.cpp +++ clang/test/Profile/cxx-structors.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of C++ constructors and destructors. // // RUN: %clang_cc1 -triple x86_64-apple-macosx10.11.0 -x c++ %s -o %t -emit-llvm -fprofile-instrument=clang Index: clang/test/Profile/cxx-templates.cpp =================================================================== --- clang/test/Profile/cxx-templates.cpp +++ clang/test/Profile/cxx-templates.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for instrumentation of templated code. Each instantiation of a template // should be instrumented separately. Index: clang/test/Profile/cxx-throws.cpp =================================================================== --- clang/test/Profile/cxx-throws.cpp +++ clang/test/Profile/cxx-throws.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test instrumentation of C++ exception handling constructs. // FIXME: Don't seek bb labels, like "if.else" Index: clang/test/Profile/cxx-virtual-destructor-calls.cpp =================================================================== --- clang/test/Profile/cxx-virtual-destructor-calls.cpp +++ clang/test/Profile/cxx-virtual-destructor-calls.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -main-file-name cxx-virtual-destructor-calls.cpp %s -o - -fprofile-instrument=clang | FileCheck %s struct Member { Index: clang/test/Profile/def-assignop.cpp =================================================================== --- clang/test/Profile/def-assignop.cpp +++ clang/test/Profile/def-assignop.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-assignop.cpp -o - -emit-llvm -fprofile-instrument=clang | FileCheck --check-prefix=PGOGEN %s // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-assignop.cpp -o - -emit-llvm -fprofile-instrument=clang -fcoverage-mapping | FileCheck --check-prefix=COVMAP %s Index: clang/test/Profile/def-ctors.cpp =================================================================== --- clang/test/Profile/def-ctors.cpp +++ clang/test/Profile/def-ctors.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-ctors.cpp -o - -emit-llvm -fprofile-instrument=clang | FileCheck --check-prefix=PGOGEN %s // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-ctors.cpp -o - -emit-llvm -fprofile-instrument=clang -fcoverage-mapping | FileCheck --check-prefix=COVMAP %s Index: clang/test/Profile/def-dtors.cpp =================================================================== --- clang/test/Profile/def-dtors.cpp +++ clang/test/Profile/def-dtors.cpp @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-dtors.cpp -o - -emit-llvm -fprofile-instrument=clang | FileCheck --check-prefix=PGOGEN %s // RUN: %clang_cc1 -x c++ -std=c++11 %s -triple x86_64-unknown-linux-gnu -main-file-name def-dtors.cpp -o - -emit-llvm -fprofile-instrument=clang -fcoverage-mapping | FileCheck --check-prefix=COVMAP %s Index: clang/test/Profile/gcc-flag-compatibility.c =================================================================== --- clang/test/Profile/gcc-flag-compatibility.c +++ clang/test/Profile/gcc-flag-compatibility.c @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Tests for -fprofile-generate and -fprofile-use flag compatibility. These two // flags behave similarly to their GCC counterparts: // Index: clang/test/Profile/objc-general.m =================================================================== --- clang/test/Profile/objc-general.m +++ clang/test/Profile/objc-general.m @@ -1,3 +1,5 @@ +// UNSUPPORTED: experimental-new-pass-manager + // Test instrumentation of general constructs in objective C. // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name objc-general.m %s -o - -emit-llvm -fblocks -fprofile-instrument=clang | FileCheck -check-prefix=PGOGEN %s Index: clang/test/lit.cfg.py =================================================================== --- clang/test/lit.cfg.py +++ clang/test/lit.cfg.py @@ -99,6 +99,9 @@ if config.clang_staticanalyzer_z3 == '1': config.available_features.add('z3') +if config.enable_experimental_new_pass_manager: + config.available_features.add('experimental-new-pass-manager') + # As of 2011.08, crash-recovery tests still do not pass on FreeBSD. if platform.system() not in ['FreeBSD']: config.available_features.add('crash-recovery') Index: clang/test/lit.site.cfg.py.in =================================================================== --- clang/test/lit.site.cfg.py.in +++ clang/test/lit.site.cfg.py.in @@ -24,6 +24,7 @@ config.clang_examples = @CLANG_BUILD_EXAMPLES@ config.enable_shared = @ENABLE_SHARED@ config.enable_backtrace = @ENABLE_BACKTRACES@ +config.enable_experimental_new_pass_manager = @ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER@ config.host_arch = "@HOST_ARCH@" config.python_executable = "@PYTHON_EXECUTABLE@" config.use_z3_solver = lit_config.params.get('USE_Z3_SOLVER', "@USE_Z3_SOLVER@")