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

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


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

Across three controlled rebuilds of the affected TU, median instructions
fell from 205.208B to 66.155B (-67.762%) and median wall time fell from
19.71s to 7.95s (-59.665%).

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