[all-commits] [llvm/llvm-project] 18778b: [mlir] Fix merging of delayed registrations during...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Jan 26 00:29:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18778b8863522e3043a0134eb31cd60127bd962b
      https://github.com/llvm/llvm-project/commit/18778b8863522e3043a0134eb31cd60127bd962b
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

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

  Log Message:
  -----------
  [mlir] Fix merging of delayed registrations during DialectRegistry::appendTo

The existing implementation called DenseMap::insert, which is a no-op if the map already contains an entry with the same key.

Differential Revision: https://reviews.llvm.org/D118165




More information about the All-commits mailing list