[all-commits] [llvm/llvm-project] 7c71a9: [mlir][Tosa] Optimize compliance initialization fo...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 13:49:04 PDT 2026


  Branch: refs/heads/users/mamini/mlir-tosa-compliance-initialization
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c71a9bc9bb16cc1eeb89b341921afede30bbbe8
      https://github.com/llvm/llvm-project/commit/7c71a9bc9bb16cc1eeb89b341921afede30bbbe8
  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)

Mark the generated compliance-map constructor minsize. It runs only when
creating the validation pass, and optimizing it for size avoids expensive
optimization of a 4,860-line initializer.

Median instructions fell from 210.700B to 73.406B (-65.161%) and wall
time from 20.49s to 8.82s (-56.955%); object text fell 36.150%. A
100-construction stress test raised runtime instructions 1.45% but showed no
wall or cycle regression.

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