[all-commits] [llvm/llvm-project] 75eca6: [mlir][Parser] Fix crash in DenseElementsAttr pars...
River Riddle via All-commits
all-commits at lists.llvm.org
Thu Dec 10 12:49:16 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75eca67c1c4b53a07a70cd3c8036713aec537769
https://github.com/llvm/llvm-project/commit/75eca67c1c4b53a07a70cd3c8036713aec537769
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M mlir/lib/Parser/AttributeParser.cpp
M mlir/test/IR/invalid.mlir
Log Message:
-----------
[mlir][Parser] Fix crash in DenseElementsAttr parser when no elements are parsed
This fixes a crash when no elements are parsed, but the type expects at least one.
Fixes PR#47763
Differential Revision: https://reviews.llvm.org/D92982
More information about the All-commits
mailing list