[PATCH] D49429: [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 09:34:33 PDT 2018


tejohnson created this revision.
tejohnson added a reviewer: pcc.
Herald added subscribers: dexonsmith, steven_wu, eraman, inglorion, mehdi_amini.

Enable these passes for CFI and WPD in ThinLTO and LTO with the new pass
manager. Add a couple of tests for both PMs based on the clang tests
tools/clang/test/CodeGen/thinlto-distributed-cfi*.ll, but just test
through llvm-lto2 and not with distributed ThinLTO.


Repository:
  rL LLVM

https://reviews.llvm.org/D49429

Files:
  include/llvm/Passes/PassBuilder.h
  include/llvm/Transforms/IPO/LowerTypeTests.h
  include/llvm/Transforms/IPO/WholeProgramDevirt.h
  lib/LTO/LTOBackend.cpp
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/IPO/LowerTypeTests.cpp
  lib/Transforms/IPO/WholeProgramDevirt.cpp
  test/Other/new-pm-lto-defaults.ll
  test/ThinLTO/X86/cfi-devirt.ll
  test/ThinLTO/X86/cfi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49429.155903.patch
Type: text/x-patch
Size: 18160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180717/9f5ddfaf/attachment.bin>


More information about the llvm-commits mailing list