[all-commits] [llvm/llvm-project] f08ece: [mlir] Use pointers for static operation hooks (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 15:40:09 PDT 2026


  Branch: refs/heads/users/mamini/mlir-static-operation-hooks
  Home:   https://github.com/llvm/llvm-project
  Commit: f08ece191dc326e11e08dac60fbdd6a2e168fadc
      https://github.com/llvm/llvm-project/commit/f08ece191dc326e11e08dac60fbdd6a2e168fadc
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M mlir/include/mlir/IR/OpDefinition.h

  Log Message:
  -----------
  [mlir] Use pointers for static operation hooks (NFC)

Return raw function pointers from static operation-hook accessors to avoid
instantiating unique-function construction machinery for every operation.

Across three controlled -j16 rebuilds of 44 registration TUs, median
instructions fell from 2.284T to 2.201T (-3.646%) and median wall time fell
from 41.04s to 38.80s (-5.458%).

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