PrintIRInstrumentation::shouldPrintAfterPass accepts a pass ID instead of a pass name
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 70 ms | x64 debian > lld.wasm::stub-library.s |
Event Timeline
Comment Actions
How do I go about adding a regression test for this? I have a simple reproducer here: https://godbolt.org/z/nEK139rEo
Comment Actions
something along the lines of llvm/test/Other/loop-pass-printer.ll with the IR and opt command you have should be good
Comment Actions
lg with one more test fix
| llvm/test/Other/loop-print-after-pass-invalidated.ll | ||
|---|---|---|
| 3 | this suggested fix is still relevant | |
Comment Actions
do you need me to land this for you?
Yes please,
Name: Prem Chintalapudi
Email: prem.chintalapudi@gmail.com