[llvm-dev] Pass reduction with new PM

Markus Lavin via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 30 00:25:04 PDT 2021


Hi,

Right now I am trying to analyze a bug that appears with new PM pipeline as follows

$ opt -enable-new-pm=1 -disable-basic-aa -tbaa -O1 -o /dev/null reduced.ll

the crashing pass is LICM but simply exporting IR before that pass and then running just that pass does not seem to capture enough state to reproduce the problem.

So here one would either want bugpoint to help automatically reduce the pass list or simply use -debug-pass=Arguments and do it manually but as I understand it neither of those options work with the new PM.

This has already been brought up in [llvm-dev] How to get from "opt -O3" to "opt <a-single-pass>" with the new PM?<https://lists.llvm.org/pipermail/llvm-dev/2021-March/148994.html>
Has there been any progress since then?

br
Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210730/c03130c9/attachment.html>


More information about the llvm-dev mailing list