[all-commits] [llvm/llvm-project] f6ff75: [mlir] Attribute add printStripped (#78008)

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon Jan 15 20:56:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6ff7574a6fc979583b8105f0d3f2fac165b6d61
      https://github.com/llvm/llvm-project/commit/f6ff7574a6fc979583b8105f0d3f2fac165b6d61
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M mlir/include/mlir/IR/Attributes.h
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/unittests/IR/AttributeTest.cpp

  Log Message:
  -----------
  [mlir] Attribute add printStripped (#78008)

Enable printing without dialect wrapping.

This closely matches `AsmPrinter::printStrippedAttrOrType`
implementation wise except templating component.




More information about the All-commits mailing list