[PATCH] D96100: Specify that some flags are legacy PM-specific

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 7 15:33:00 PST 2021


bjope added inline comments.


================
Comment at: llvm/tools/opt/opt.cpp:145
 static cl::opt<bool> DisableInline("disable-inlining",
                                    cl::desc("Do not run the inliner pass"));
 
----------------
This one is only checked for LegacyPM afaict.


================
Comment at: llvm/tools/opt/opt.cpp:148
 static cl::opt<bool>
 DisableOptimizations("disable-opt",
                      cl::desc("Do not run any optimization passes"));
----------------
This one is only checked for LegacyPM afaict.


================
Comment at: llvm/tools/opt/opt.cpp:235
 
 static cl::opt<bool>
     RunTwice("run-twice",
----------------
This one is not implemented for NewPM (at least not yet).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96100



More information about the llvm-commits mailing list