Skip to content

MIRLangRef: fix llc invocation lines to write output #74104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/docs/MIRLangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ for the post register allocation pseudo instruction expansion pass, you can
specify the machine copy propagation pass in the ``-stop-after`` option, as it
runs just before the pass that we are trying to test:

``llc -stop-after=machine-cp bug-trigger.ll > test.mir``
``llc -stop-after=machine-cp bug-trigger.ll -o test.mir``

If the same pass is run multiple times, a run index can be included
after the name with a comma.

``llc -stop-after=dead-mi-elimination,1 bug-trigger.ll > test.mir``
``llc -stop-after=dead-mi-elimination,1 bug-trigger.ll -o test.mir``

After generating the input MIR file, you'll have to add a run line that uses
the ``-run-pass`` option to it. In order to test the post register allocation
Expand Down