[all-commits] [llvm/llvm-project] ede600: ManagedStatic: remove many straightforward uses in...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Sun Jul 10 01:30:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ede600377cb6df1bef71f070130d8cfe734cc5b7
      https://github.com/llvm/llvm-project/commit/ede600377cb6df1bef71f070130d8cfe734cc5b7
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M llvm/include/llvm/IR/OptBisect.h
    M llvm/lib/Analysis/TFUtils.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
    M llvm/lib/DebugInfo/MSF/MSFError.cpp
    M llvm/lib/DebugInfo/PDB/DIA/DIAError.cpp
    M llvm/lib/DebugInfo/PDB/GenericError.cpp
    M llvm/lib/DebugInfo/PDB/Native/RawError.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/OrcError.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/IR/LLVMContextImpl.cpp
    M llvm/lib/IR/OptBisect.cpp
    M llvm/lib/IR/PassRegistry.cpp
    M llvm/lib/Object/Error.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/SampleProf.cpp
    M llvm/lib/Support/Error.cpp
    M llvm/lib/Support/Unix/Process.inc
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstrRelaxTables.cpp
    M llvm/lib/Target/X86/X86EvexToVex.cpp
    M llvm/lib/Target/X86/X86InstrFoldTables.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/llvm-xray/xray-registry.cpp
    M llvm/unittests/Support/ErrorTest.cpp

  Log Message:
  -----------
  ManagedStatic: remove many straightforward uses in llvm

(Reapply after revert in e9ce1a588030d8d4004f5d7e443afe46245e9a92 due to
Fuchsia test failures. Removed changes in lib/ExecutionEngine/ other
than error categories, to be checked in more detail and reapplied
separately.)

Bulk remove many of the more trivial uses of ManagedStatic in the llvm
directory, either by defining a new getter function or, in many cases,
moving the static variable directly into the only function that uses it.

Differential Revision: https://reviews.llvm.org/D129120




More information about the All-commits mailing list