[all-commits] [llvm/llvm-project] a6cb5c: [mlir] Add nullptr checks in SparseElementsAttr pa...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Mar 27 19:11:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6cb5cc0f0b6448e9b2d05017ea17fccf1eb1feb
      https://github.com/llvm/llvm-project/commit/a6cb5cc0f0b6448e9b2d05017ea17fccf1eb1feb
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

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

  Log Message:
  -----------
  [mlir] Add nullptr checks in SparseElementsAttr parser  (#133222)

This PR adds nullptr checks in the SparseElementsAttr parser to improve
robustness and prevent crashes. Fixes #132891.



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