Some llc debug options need pass-name as the parameters.
-run-pass=<pass-name> -start-after=<pass-name> -start-before=<pass-name> -stop-after=<pass-name -stop-before=<pass-name>
For the pass-name ppc-pre-emit-peephole, below command can work well.
llc test.ll -stop-after ppc-pre-emit-peephole
But if we use the pass-name ppc-early-ret, we will get below error:
llc test.ll -stop-after ppc-early-ret LLVM ERROR: “ppc-early-ret” pass is not registered.
I have checked all PPC pass-names, below pass-names have the pass is not registered error:
ppc-ctr-loops ppc-ctr-loops-verify ppc-loop-preinc-prep ppc-toc-reg-deps ppc-vsx-copy ppc-early-ret ppc-vsx-fma-mutate ppc-vsx-swaps ppc-reduce-cr-ops ppc-qpx-load-splat ppc-branch-coalescing ppc-branch-select