[all-commits] [llvm/llvm-project] 9a9732: [mlir][Tosa] Optimize compliance initialization fo...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Thu Sep 10 14:36:01 PDT 2026
Branch: refs/heads/users/mamini/mlir-tosa-compliance-initialization
Home: https://github.com/llvm/llvm-project
Commit: 9a97329b5dfa800d2ca705e657253038d5fc70d2
https://github.com/llvm/llvm-project/commit/9a97329b5dfa800d2ca705e657253038d5fc70d2
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
Log Message:
-----------
[mlir][Tosa] Optimize compliance initialization for size (NFC)
The compliance-map constructor includes a 4,920-line generated initializer.
Mark it minsize because it runs only when creating the validation pass and
optimizing this single large function at -O3 is expensive.
Across five controlled rebuilds of the affected TU, median instructions fell
from 205.087B to 66.157B (-67.742%) and median wall time fell from 19.83s to
7.95s (-59.909%).
Assisted-by: 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