[all-commits] [llvm/llvm-project] ba8e33: [mlir] Use array_pod_sort for sorting stats/counters.

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Thu Mar 17 12:28:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba8e336a238723474ff9aa62021ffefbfb2bfa73
      https://github.com/llvm/llvm-project/commit/ba8e336a238723474ff9aa62021ffefbfb2bfa73
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M mlir/lib/Pass/PassStatistics.cpp
    M mlir/lib/Support/DebugCounter.cpp

  Log Message:
  -----------
  [mlir] Use array_pod_sort for sorting stats/counters.

This isn't performance sensitive and array_pod_sort is a lot smaller.
NFCI.


  Commit: 548757ba86f60ceb62ea465c3f4f9b9c0c42b89f
      https://github.com/llvm/llvm-project/commit/548757ba86f60ceb62ea465c3f4f9b9c0c42b89f
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Support/InterfaceSupport.h
    M mlir/lib/Support/InterfaceSupport.cpp

  Log Message:
  -----------
  [mlir] Move InterfaceMap::InterfaceMap to the cpp file

So we don't end up with a copy of std::sort in every dialect definition.
NFCI.


Compare: https://github.com/llvm/llvm-project/compare/522b25997662...548757ba86f6


More information about the All-commits mailing list