Skip to content

Conversation

Enna1
Copy link
Contributor

@Enna1 Enna1 commented Aug 25, 2025

-print-before and -print-after support multiple passes as a list of strings, so it makes sense that we also support -print-before-pass-number and -print-after-pass-number taking a list of pass numbers as input. This is useful if you want to print out the IRs before/after specified passes with pass numbers reported by print-pass-numbers in a single run.

…-pass-number options allow multilple pass numbers specified

`-print-before` and `-print-after` support multiple passes as a list of
strings, so it makes sense that we also support `-print-before-pass-number`
and `-print-after-pass-number` taking a list of pass numbers as input.
This is useful if you want to print out the IRs before/after specified passes
with pass numbers reported by print-pass-numbers in a single run.
@Enna1 Enna1 requested review from aeubanks, arpilipe and arsenm August 25, 2025 12:10
@Enna1 Enna1 marked this pull request as ready for review August 25, 2025 12:10
Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arsenm
Copy link
Contributor

arsenm commented Aug 26, 2025

Stuck on the lldb failures

@arsenm arsenm merged commit 8c692b4 into main Aug 26, 2025
8 of 9 checks passed
@arsenm arsenm deleted the users/Enna1/print-before-after-mulitple-pass-number branch August 26, 2025 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants