[all-commits] [llvm/llvm-project] da9382: [DialectAsmPrinter] Add missing 'printAttributeWit...

Chris Lattner via All-commits all-commits at lists.llvm.org
Tue Sep 21 18:45:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da93829b441525fd82a23c710290328907dde756
      https://github.com/llvm/llvm-project/commit/da93829b441525fd82a23c710290328907dde756
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M mlir/include/mlir/IR/DialectImplementation.h
    M mlir/lib/IR/AsmPrinter.cpp

  Log Message:
  -----------
  [DialectAsmPrinter] Add missing 'printAttributeWithoutType' member.

DialectAsmParser has a `parseAttribute` member that takes a
contextual type, but DialectAsmPrinter doesn't have the corresponding
member to take advantage of it.  As such, custom attribute
implementations can't really use it.  This adds the obvious missing
method which fills this hole.

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




More information about the All-commits mailing list