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

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 09:24:13 PDT 2021


ychen added a comment.

In D98591#2630098 <https://reviews.llvm.org/D98591#2630098>, @drti wrote:

> so please let me know if you'd prefer me to simpilfy the implementation by removing the filtering.

Yeah, I still think the filtering should be removed. The plugin should not reply on a Target instance to work and ideally, the plugin should be able to cope with more than one target (most likely a machine-independent pass).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98591/new/

https://reviews.llvm.org/D98591



More information about the llvm-commits mailing list