[PATCH] D111095: [fir] Add cfg conversion pass
Eric Schweitz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 5 15:02:08 PDT 2021
schweitz added inline comments.
================
Comment at: flang/lib/Optimizer/Transforms/RewriteLoop.cpp:296
+ if (disableCfgConversion)
+ return;
+
----------------
clementval wrote:
> mehdi_amini wrote:
> > This actually really seems like this option does not belong here: if someone wants to disable cfg-conversion in the compiler, then the proper plumbing is to have this option on the pass manager **builder** so that the pass does not get added to the pipeline.
> Right it makes more sense. Just removed the option.
We'll need a way to enable and disable the passes in the test tools and without having to specify the entire pipeline.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111095/new/
https://reviews.llvm.org/D111095
More information about the llvm-commits
mailing list