[all-commits] [llvm/llvm-project] a88167: [MLIR] Improve error handling when parsing dense a...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Mon Feb 24 07:40:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a88167a60d0b5529b2a5ab185680f25c3c983ec3
      https://github.com/llvm/llvm-project/commit/a88167a60d0b5529b2a5ab185680f25c3c983ec3
  Author: lorenzo chelini <l.chelini at icloud.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M mlir/lib/AsmParser/AttributeParser.cpp
    M mlir/test/IR/invalid-builtin-attributes.mlir

  Log Message:
  -----------
  [MLIR] Improve error handling when parsing dense attributes (#128523)

Avoid triggering assertions when we expect to parse a string but
encounter a different type. Instead, handle the mismatch gracefully by
emitting a parser error.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list