[all-commits] [llvm/llvm-project] f4085c: [mlir] Fix two AttributeParser aborts

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon Apr 18 09:30:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4085c57ddfc1490560213e4611e434d25f84675
      https://github.com/llvm/llvm-project/commit/f4085c57ddfc1490560213e4611e434d25f84675
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

  Changed paths:
    M mlir/lib/Parser/AttributeParser.cpp
    M mlir/test/IR/invalid.mlir

  Log Message:
  -----------
  [mlir] Fix two AttributeParser aborts

Reproducers that resulted in triggering the following asserts

mlir::NamedAttribute::NamedAttribute(mlir::StringAttr, mlir::Attribute)
mlir/lib/IR/Attributes.cpp:29:3
consumeToken
mlir/lib/Parser/Parser.h:126

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




More information about the All-commits mailing list