[all-commits] [llvm/llvm-project] 2f63d5: Restore "[LTO/WPD] Enable aggressive WPD under LTO...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Mon Jan 27 07:55:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f63d549f1e1edd165392837aaa53f569f7fb88d
      https://github.com/llvm/llvm-project/commit/2f63d549f1e1edd165392837aaa53f569f7fb88d
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll
    M clang/test/CodeGenCXX/cfi-mfcall.cpp
    M clang/test/CodeGenCXX/lto-visibility-inference.cpp
    A clang/test/CodeGenCXX/thinlto-distributed-type-metadata.cpp
    M clang/test/CodeGenCXX/type-metadata.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/LTO.cpp
    M lld/ELF/Options.td
    A lld/test/ELF/lto/devirt_vcall_vis_public.ll
    M llvm/include/llvm/LTO/Config.h
    M llvm/include/llvm/Transforms/IPO.h
    M llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
    M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/test/ThinLTO/X86/cache-typeid-resolutions.ll
    M llvm/test/ThinLTO/X86/cfi-devirt.ll
    M llvm/test/ThinLTO/X86/devirt-after-icp.ll
    M llvm/test/ThinLTO/X86/devirt.ll
    M llvm/test/ThinLTO/X86/devirt2.ll
    M llvm/test/ThinLTO/X86/devirt_alias.ll
    M llvm/test/ThinLTO/X86/devirt_available_externally.ll
    M llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
    M llvm/test/ThinLTO/X86/devirt_promote.ll
    M llvm/test/ThinLTO/X86/devirt_promote_legacy.ll
    M llvm/test/ThinLTO/X86/devirt_single_hybrid.ll
    A llvm/test/ThinLTO/X86/devirt_vcall_vis_hidden.ll
    A llvm/test/ThinLTO/X86/devirt_vcall_vis_public.ll
    M llvm/test/Transforms/WholeProgramDevirt/bad-read-from-vtable.ll
    M llvm/test/Transforms/WholeProgramDevirt/branch-funnel-threshold.ll
    M llvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
    M llvm/test/Transforms/WholeProgramDevirt/constant-arg.ll
    M llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl-check.ll
    M llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
    M llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl2.ll
    M llvm/test/Transforms/WholeProgramDevirt/expand-check.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-unsuccessful-checked.ll
    M llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
    M llvm/test/Transforms/WholeProgramDevirt/non-constant-vtable.ll
    M llvm/test/Transforms/WholeProgramDevirt/pointer-vtable.ll
    M llvm/test/Transforms/WholeProgramDevirt/soa-vtable.ll
    M llvm/test/Transforms/WholeProgramDevirt/struct-vtable.ll
    M llvm/test/Transforms/WholeProgramDevirt/uniform-retval-invoke.ll
    M llvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
    M llvm/test/Transforms/WholeProgramDevirt/unique-retval.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-decl.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-no-this.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-non-constant-arg.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-too-wide-ints.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-type-mismatch.ll
    M llvm/test/Transforms/WholeProgramDevirt/vcp-uses-this.ll
    M llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
    M llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll
    M llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
    M llvm/test/Transforms/WholeProgramDevirt/vtable-decl.ll
    A llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
    M llvm/tools/gold/gold-plugin.cpp
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  Restore "[LTO/WPD] Enable aggressive WPD under LTO option"

This restores 59733525d37cf9ad88b5021b33ecdbaf2e18911c (D71913), along
with bot fix 19c76989bb505c3117730c47df85fd3800ea2767.

The bot failure should be fixed by D73418, committed as
af954e441a5170a75687699d91d85e0692929d43.

I also added a fix for non-x86 bot failures by requiring x86 in new test
lld/test/ELF/lto/devirt_vcall_vis_public.ll.




More information about the All-commits mailing list