[all-commits] [llvm/llvm-project] e9dc94: Introduce a new DialectIdentifier structure, exten...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Jan 28 16:05:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9dc94291e7dd58d0ed14598f7d526641aefb778
      https://github.com/llvm/llvm-project/commit/e9dc94291e7dd58d0ed14598f7d526641aefb778
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M mlir/include/mlir/IR/Identifier.h
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  Introduce a new DialectIdentifier structure, extending Identifier with a Dialect information

This class is looking up a dialect prefix on the identifier on initialization
and keeping a pointer to the Dialect when found.

The NamedAttribute key is now a DialectIdentifier.

Reviewed By: rriddle, jpienaar

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




More information about the All-commits mailing list