[all-commits] [llvm/llvm-project] ce5379: [NPM] Add target specific hook to add passes for N...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Sep 30 13:30:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ce5379f0f0675592fd10a522009fd5b1561ca72b
      https://github.com/llvm/llvm-project/commit/ce5379f0f0675592fd10a522009fd5b1561ca72b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
    A llvm/test/CodeGen/Hexagon/registerpassbuildercallbacks.ll
    M llvm/tools/opt/NewPMDriver.cpp

  Log Message:
  -----------
  [NPM] Add target specific hook to add passes for New Pass Manager

The patch adds a new TargetMachine member "registerPassBuilderCallbacks" for targets to add passes to the pass pipeline using the New Pass Manager (similar to adjustPassManager for the Legacy Pass Manager).

Reviewed By: aeubanks

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




More information about the All-commits mailing list