[PATCH] D108298: [WIP][NPM] Print '-passes' compatible string for built pipeline.

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 06:12:11 PDT 2021


bjope added a comment.

I started to look at some test directories, e.g. test/Transform/ADCE, and there are tests that for example run `opt -adce -simplifycfg ...`, and it is not obvious to me how to covert that to use `-passes` because I don't know which options to feed to simplifycfg.
If we manage to make this a bit more complete, also printing the options used, then I could run `opt -adce -simplifycfg ... -print-pipeline` or similar to get the equivalent textual pipeline description to use. So this might be helpful as a tool when converting lit tests to use `-passes`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108298



More information about the llvm-commits mailing list