[all-commits] [llvm/llvm-project] 43c35e: [mlir] Simplify calls to *Map::{insert, try_emplace...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Jun 11 12:50:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43c35e858ccae05d69151ccf9712a725aae37b52
      https://github.com/llvm/llvm-project/commit/43c35e858ccae05d69151ccf9712a725aae37b52
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/SymbolTable.cpp
    M mlir/lib/Transforms/Utils/CFGToSCF.cpp

  Log Message:
  -----------
  [mlir] Simplify calls to *Map::{insert,try_emplace} (NFC) (#143729)

This patch simplifies code by removing the values from
insert/try_emplace.  Note that default values inserted by try_emplace
are immediately overrideen in all these cases.



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