[PATCH] D138757: [zero-call-used-regs] Mark only non-debug instruction's register as used

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 11:52:12 PST 2022


nickdesaulniers added a comment.

In D138757#3957857 <https://reviews.llvm.org/D138757#3957857>, @nickdesaulniers wrote:

> 3. `llc -O2 -stop-before=prolog-epilog-insertion -o new_mir_test.mir`
> 4. add the `; RUN: ` line to `new_mir_test.mir`: `; RUN: llc -run-pass=prolog-epilog-insertion ...`

Ah, looks like PEI is called `prologepilog` not `prolog-epilog-insertion`.

You can generally find the pass identifier as `DEBUG_TYPE` near the top of the file. These don't always correspond 1:1 with the pass name (for complicated passes in multiple files, they usually have individual `DEBUG_TYPE`s), but a common pattern in LLVM is that they do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138757



More information about the llvm-commits mailing list