[all-commits] [llvm/llvm-project] 6ce442: [mlir] Use heterogenous lookups with std::map (NFC...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Nov 8 07:34:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ce44266fc2d06dfcbefd8146279473ccada52ca
      https://github.com/llvm/llvm-project/commit/6ce44266fc2d06dfcbefd8146279473ccada52ca
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M mlir/include/mlir/IR/DialectRegistry.h
    M mlir/lib/IR/Dialect.cpp

  Log Message:
  -----------
  [mlir] Use heterogenous lookups with std::map (NFC) (#115426)

Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.



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