[PATCH] D78203: [VP,Integer,#2] ExpandVectorPredication pass

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 23 02:56:46 PDT 2021


simoll added a comment.
Herald added a subscriber: tmatheson.

In D78203#2707363 <https://reviews.llvm.org/D78203#2707363>, @rogfer01 wrote:

> I understand this is a legacy pass manager. Would it make sense to adapt it to the New PM as well?

AFAIK SelectionDAG lives and dies with the old pm.
In any case, there is a wrapper pass for the new pm in this patch modeled after the one for reduction expansion. It's just not being used atm. I guess that's good enough?



================
Comment at: llvm/include/llvm/CodeGen/ExpandVectorPredication.h:16-21
+class ExpandVectorPredicationPass
+    : public PassInfoMixin<ExpandVectorPredicationPass> {
+public:
+  PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
+};
+} // end namespace llvm
----------------
Wrapper for the new pm


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78203



More information about the llvm-commits mailing list