diff options
author | Longsheng Mou <longshengmou@gmail.com> | 2025-04-01 16:27:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 16:27:43 +0800 |
commit | 1cf6786e322ddc787d793dbb48d59b4f9827fef3 (patch) | |
tree | bb81c03a97ce66fca8cec2c02ffaf22f396e287b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | ad48fffb53003333456b327a2a3f22bd81a77a00 (diff) | |
download | llvm-1cf6786e322ddc787d793dbb48d59b4f9827fef3.zip llvm-1cf6786e322ddc787d793dbb48d59b4f9827fef3.tar.gz llvm-1cf6786e322ddc787d793dbb48d59b4f9827fef3.tar.bz2 |
[mlir] Improve error handling for dense attribute parsing in complex types (#133220)
- For splat dense attributes, the number of parsed elements must be 2.
- For non-splat dense attributes, the number of parsed elements must be
twice the number of elements in the type.
Fixes #132859.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions