[all-commits] [llvm/llvm-project] 8466eb: [mlir][sparse] Add more error messages and avoid c...
Yinying Li via All-commits
all-commits at lists.llvm.org
Fri Sep 22 09:03:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8466eb7d031cb8df9585e4cfa29d2af08b9a0c01
https://github.com/llvm/llvm-project/commit/8466eb7d031cb8df9585e4cfa29d2af08b9a0c01
Author: Yinying Li <107574043+yinying-lisa-li at users.noreply.github.com>
Date: 2023-09-22 (Fri, 22 Sep 2023)
Changed paths:
M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
M mlir/lib/Dialect/SparseTensor/IR/Detail/Var.cpp
M mlir/lib/Dialect/SparseTensor/IR/Detail/Var.h
M mlir/test/Dialect/SparseTensor/invalid_encoding.mlir
Log Message:
-----------
[mlir][sparse] Add more error messages and avoid crashing in new parser (#67034)
Updates:
1. Added more invalid encodings to test the robustness of the new syntax
2. Changed the asserts that caused crashing into returning booleans
3. Modified some error messages to make them clearer and handled
failures in parsing quotes as keyword for level formats and properties.
More information about the All-commits
mailing list