[all-commits] [llvm/llvm-project] a8a678: [StandardInstrumentations] Make -print-after-pass-...

Mingjie Xu via All-commits all-commits at lists.llvm.org
Mon Aug 25 03:03:15 PDT 2025


  Branch: refs/heads/users/Enna1/print-before-after-mulitple-pass-number
  Home:   https://github.com/llvm/llvm-project
  Commit: a8a67861ec40ba722e59ea27c5e2c5658726263a
      https://github.com/llvm/llvm-project/commit/a8a67861ec40ba722e59ea27c5e2c5658726263a
  Author: xumingjie.enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Other/print-at-pass-number.ll

  Log Message:
  -----------
  [StandardInstrumentations] Make -print-after-pass-number/-print-after-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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list