Skip to content

[asm] Add --mlir-timing support to waveasm-translate#1122

Open
Hardcode84 wants to merge 1 commit intoiree-org:mainfrom
Hardcode84:asm-pass-timings
Open

[asm] Add --mlir-timing support to waveasm-translate#1122
Hardcode84 wants to merge 1 commit intoiree-org:mainfrom
Hardcode84:asm-pass-timings

Conversation

@Hardcode84
Copy link
Contributor

Register MLIR pass manager and timing manager CLI options so waveasm-translate accepts --mlir-timing for per-pass timing reports. Also add llvm::Timer instrumentation for the translation and assembly emission phases which are outside the PassManager.

Plumb print_pass_times through WaveASMCompiler so the Python side can request timing via the same flag used for Wave graph passes.

Register MLIR pass manager and timing manager CLI options so
waveasm-translate accepts --mlir-timing for per-pass timing reports.
Also add llvm::Timer instrumentation for the translation and assembly
emission phases which are outside the PassManager.

Plumb print_pass_times through WaveASMCompiler so the Python side
can request timing via the same flag used for Wave graph passes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
@Hardcode84 Hardcode84 requested review from ftynse and harsh-nod March 12, 2026 20:08
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.

2 participants