diff options
author | Leonard Chan <leonardchan@google.com> | 2019-08-21 17:24:14 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2019-08-21 17:24:14 +0000 |
commit | 19ec31d1a5f50bd5aa5843c96428b79e2863ffd4 (patch) | |
tree | 8568d66cb84f8ce1583880e0a189d6d622cdc20b /clang/test/CodeGen | |
parent | 01a413695c980613c8d737e7bba79131a6adc8a5 (diff) | |
download | bcm5719-llvm-19ec31d1a5f50bd5aa5843c96428b79e2863ffd4.tar.gz bcm5719-llvm-19ec31d1a5f50bd5aa5843c96428b79e2863ffd4.zip |
[LTO] Always mark regular LTO units with EnableSplitLTOUnit=1 under the new pass manager
Match the behavior of D65009 under the new pass manager. This addresses
the test clang/test/CodeGen/split-lto-unit.c when running under the new
PM.
Differential Revision: https://reviews.llvm.org/D66488
llvm-svn: 369550
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r-- | clang/test/CodeGen/split-lto-unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/split-lto-unit.c b/clang/test/CodeGen/split-lto-unit.c index 8e83ebaa6fb..bd157656433 100644 --- a/clang/test/CodeGen/split-lto-unit.c +++ b/clang/test/CodeGen/split-lto-unit.c @@ -7,6 +7,7 @@ // SPLIT: !{i32 1, !"EnableSplitLTOUnit", i32 1} // // ; Check that regular LTO has EnableSplitLTOUnit = 1 -// RUN: %clang_cc1 -flto -triple x86_64-pc-linux-gnu -emit-llvm-bc < %s | llvm-dis -o - | FileCheck %s --implicit-check-not="EnableSplitLTOUnit" --check-prefix=SPLIT +// RUN: %clang_cc1 -fno-experimental-new-pass-manager -flto -triple x86_64-pc-linux-gnu -emit-llvm-bc < %s | llvm-dis -o - | FileCheck %s --implicit-check-not="EnableSplitLTOUnit" --check-prefix=SPLIT +// RUN: %clang_cc1 -fexperimental-new-pass-manager -flto -triple x86_64-pc-linux-gnu -emit-llvm-bc < %s | llvm-dis -o - | FileCheck %s --implicit-check-not="EnableSplitLTOUnit" --check-prefix=SPLIT int main() {} |