[PATCH] D147968: [TTI][BPF]: Undo specific transform-preventing passes and add TTI hooks

Jose E. Marchesi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 14:06:01 PDT 2023


jemarch added a comment.

In my opinion this new approach of using target hooks is way better than trying to amend the effect of certain passes by adding "counter passes", which is not only a moving target, but also fragile and IMO a waste of effort.  We do have the same problem with the GCC BPF backend, and will be using a similar strategy to  what Yonghong is proposing here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147968



More information about the llvm-commits mailing list