[PATCH] D98591: [CodeGen] Add extension points for TargetPassConfig::addMachinePasses

Raoul Gough via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 13 15:25:02 PST 2021


drti created this revision.
drti added reviewers: ychen, arsenm, aeubanks.
Herald added subscribers: hiraditya, mgorny.
drti requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Allow out-of-tree code to customize a target using a
mechanism similar to addGlobalExtension in PassManagerBuilder but for
machine passes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98591

Files:
  llvm/include/llvm/CodeGen/TargetPassConfig.h
  llvm/include/llvm/Target/TargetMachine.h
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/unittests/CodeGen/CMakeLists.txt
  llvm/unittests/CodeGen/TargetExtensionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98591.330480.patch
Type: text/x-patch
Size: 15469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210313/c5fc859e/attachment.bin>


More information about the llvm-commits mailing list