]> granicus.if.org Git - clang/commit
[LTO] Always mark regular LTO units with EnableSplitLTOUnit=1 under the new pass...
authorLeonard Chan <leonardchan@google.com>
Wed, 21 Aug 2019 17:24:14 +0000 (17:24 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 21 Aug 2019 17:24:14 +0000 (17:24 +0000)
commit751eaaa4cadf30b0a5be729d0e0a32dc00f76332
tree9550231497a856b9e2c82c40d9ca33d50b1b2986
parent47f5868aba0896ab1925c830a327a97a7b0a4eef
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369550 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp
test/CodeGen/split-lto-unit.c