[all-commits] [llvm/llvm-project] d2f3e5: [mlir] Add support for non-identifier attribute na...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Mar 11 13:26:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d2f3e5f204cfb06e1862476ade175ccf0bb7ca0f
      https://github.com/llvm/llvm-project/commit/d2f3e5f204cfb06e1862476ade175ccf0bb7ca0f
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mlir/docs/LangRef.md
    M mlir/lib/Analysis/Verifier.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/test/IR/parser.mlir

  Log Message:
  -----------
  [mlir] Add support for non-identifier attribute names.

Summary: In some situations the name of the attribute is not representable as a bare-identifier, this revision adds support for those cases by formatting the name as a string instead. This has the added benefit of removing the identifier regex from the verifier.

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




More information about the All-commits mailing list