[all-commits] [llvm/llvm-project] b9704d: [PassBuilder] Table-drive pass name printing (#202...
David Zbarsky via All-commits
all-commits at lists.llvm.org
Thu Jun 11 19:45:31 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9704de13ca5ce3158c6681839162a791042c6f9
https://github.com/llvm/llvm-project/commit/b9704de13ca5ce3158c6681839162a791042c6f9
Author: David Zbarsky <dzbarsky at gmail.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[PassBuilder] Table-drive pass name printing (#202656)
Replace the macro-expanded raw_ostream operations in
PassBuilder::printPassNames with static pass-name arrays and two shared
noinline printing loops. Preserve the generated category order and the
exact spelling of parameterized pass names.
The change only executes when a client requests the pass-name listing;
normal pipeline parsing and optimization do not access the new tables or
helpers.
A stripped opt binary shrinks from 115,493,720 to 115,394,640 bytes,
saving 99,080 bytes. The linked __TEXT section shrinks by 98,304 bytes.
Work towards #202616
AI tool disclosure: Co-authored with OpenAI Codex.
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