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

Mingjie Xu via All-commits all-commits at lists.llvm.org
Mon Aug 25 18:23:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c692b4917ff1dea3f59dad884e359a194c9af45
      https://github.com/llvm/llvm-project/commit/8c692b4917ff1dea3f59dad884e359a194c9af45
  Author: Mingjie Xu <xumingjie.enna1 at bytedance.com>
  Date:   2025-08-26 (Tue, 26 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 multiple pass numbers specified (#155228)

`-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