[all-commits] [llvm/llvm-project] 7a797b: Take OptimizationLevel class out of Pass Builder

Tarindu Jayatilaka via All-commits all-commits at lists.llvm.org
Thu Jul 29 21:57:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a797b2902993ad9ad9a04dcf46efc64398cd7e3
      https://github.com/llvm/llvm-project/commit/7a797b2902993ad9ad9a04dcf46efc64398cd7e3
  Author: Tarindu Jayatilaka <tarindujayatilaka at gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/examples/Bye/Bye.cpp
    A llvm/include/llvm/Passes/OptimizationLevel.h
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/tools/opt/NewPMDriver.cpp
    M polly/include/polly/Canonicalization.h
    M polly/lib/Support/RegisterPasses.cpp
    M polly/lib/Transform/Canonicalization.cpp

  Log Message:
  -----------
  Take OptimizationLevel class out of Pass Builder

Pulled out the OptimizationLevel class from PassBuilder in order to be able to access it from within the PassManager and avoid include conflicts.

Reviewed By: mtrofin

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




More information about the All-commits mailing list