SuccessChanges

Summary

  1. Revert "[LTO/WPD] Enable aggressive WPD under LTO option" (details)
  2. [RISCV] Scheduler description for the Rocket core (details)
  3. [WebAssembly] Fix resume-only case in Emscripten EH (details)
  4. [WinEH] Ignore lifetime.end PHI nodes in empty cleanuppads (details)
  5. Fix assert that doesn't check anything. (details)
  6. [examples][ORC] Remove an unused parameter from IR in an LLJIT example. (details)
  7. [examples][ORC] Fix program names in calls to parse cl opt in examples. (details)
  8. [examples][ORC] Add an example of how to use a custom ObjectLinkingLayer (details)
Commit 90e630a95ecc2cd615d631f684d61acc872ce37e by tejohnson
Revert "[LTO/WPD] Enable aggressive WPD under LTO option"
This reverts commit 59733525d37cf9ad88b5021b33ecdbaf2e18911c.
There is a windows sanitizer bot failure in one of the cfi tests that I
will need some time to figure out:
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/57155/steps/stage%201%20check/logs/stdio
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt-after-icp.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/pointer-vtable.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
The file was removedllvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
The file was modifiedclang/test/CodeGenCXX/type-metadata.cpp
The file was modifiedllvm/test/ThinLTO/X86/devirt2.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval-invoke.ll
The file was modifiedlld/ELF/Options.td
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
The file was modifiedlld/ELF/Config.h
The file was modifiedclang/test/CodeGenCXX/lto-visibility-inference.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-decl.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel-threshold.ll
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was removedllvm/test/ThinLTO/X86/devirt_vcall_vis_public.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl-check.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt_single_hybrid.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
The file was modifiedclang/test/CodeGenCXX/cfi-mfcall.cpp
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-uses-this.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vtable-decl.ll
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt_available_externally.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/expand-check.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-non-constant-arg.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/bad-read-from-vtable.ll
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/tools/gold/gold-plugin.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi-devirt.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/soa-vtable.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unsuccessful-checked.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was removedlld/test/ELF/lto/devirt_vcall_vis_public.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-cfi-devirt.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/non-constant-vtable.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-nothing.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-no-this.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
The file was modifiedllvm/include/llvm/Transforms/IPO.h
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-type-mismatch.ll
The file was removedclang/test/CodeGenCXX/thinlto-distributed-type-metadata.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/vcp-too-wide-ints.ll
The file was removedllvm/test/ThinLTO/X86/devirt_vcall_vis_hidden.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
The file was modifiedllvm/test/ThinLTO/X86/cache-typeid-resolutions.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/constant-arg.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/unique-retval.ll
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/test/ThinLTO/X86/devirt_alias.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/struct-vtable.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/LowerTypeTests.h
Commit 838a28e234e098bfc073a45f37a4dd3bb5b45eab by evandro.menezes
[RISCV] Scheduler description for the Rocket core
Pipeline scheduler model for the RISC-V Rocket micro-architecture using
the MIScheduler interface.  Support for both 32 and 64-bit Rocket cores
is implemented.
Differential revision: https://reviews.llvm.org/D68685
The file was addedllvm/lib/Target/RISCV/RISCVSchedule.td
The file was addedllvm/lib/Target/RISCV/RISCVSchedRocket32.td
The file was addedllvm/lib/Target/RISCV/RISCVSchedRocket64.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoD.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoM.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoF.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrFormats.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoA.td
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoC.td
Commit 580d7838dd08e13dac6caf4ab3142c9381bc7ad0 by aheejin
[WebAssembly] Fix resume-only case in Emscripten EH
Summary: D72308 incorrectly assumed `resume` cannot exist without a
`landingpad`, which is not true. This sets `Changed` to true whenever we
make changes to a function, including creating a call to
`__resumeException` within a function without a landing pad.
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73308
The file was addedllvm/test/CodeGen/WebAssembly/lower-em-exceptions-resume-only.ll
The file was removedllvm/test/CodeGen/WebAssembly/lower-em-exceptions-lpad-only.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
Commit c467faf23c7abda60cfd5486a39ffadd6f546d5c by andrew.kaylor
[WinEH] Ignore lifetime.end PHI nodes in empty cleanuppads
This fixes a bug where a PHI node that is only referenced by a
lifetime.end intrinsic in an otherwise empty cleanuppad can cause
SimplyCFG to create an SSA violation while removing the empty
cleanuppad. Theoretically the same problem can occur with debug
intrinsics.
Differential Revision: https://reviews.llvm.org/D72540
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/empty-cleanuppad.ll
Commit fe5f233a938f5bc31c458c39cca54d7dcc2667ef by rtrieu
Fix assert that doesn't check anything.
Move the assert that checks for the end iterator inside the loop which
actually moves over the elements.  This allows it to check that the
iteration stays within the range.
The file was modifiedllvm/lib/Analysis/SyncDependenceAnalysis.cpp
Commit 46aa5c13c5fcefd3a33740d18cddd9155db37c79 by Lang Hames
[examples][ORC] Remove an unused parameter from IR in an LLJIT example.
The file was modifiedllvm/examples/LLJITExamples/LLJITWithLazyReexports/LLJITWithLazyReexports.cpp
Commit fbb8642c1c4c5e7a435d05a81c07ca8efbd24899 by Lang Hames
[examples][ORC] Fix program names in calls to parse cl opt in examples.
These examples were all copied and adapted from the original
HowToUseLLJIT example code, however the calls to
cl::ParseCommandLineOptions were not updated.
The file was modifiedllvm/examples/LLJITExamples/LLJITDumpObjects/LLJITDumpObjects.cpp
The file was modifiedllvm/examples/LLJITExamples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp
The file was modifiedllvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
Commit bb7a5707ac003fcca35a8ea77492b05e048fc9e8 by Lang Hames
[examples][ORC] Add an example of how to use a custom ObjectLinkingLayer
plugin.
ObjectLinkingLayer::Plugin instances can be used to receive events from
ObjectLinkingLayer, and to inspect/modify JITLink linker graphs. This
example shows how to write and set up a plugin to dump the linker graph
at various points in the linking process.
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
The file was addedllvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/CMakeLists.txt
The file was addedllvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp