diff options
author | Jeff Niu <jeff@modular.com> | 2022-08-01 16:21:33 -0400 |
---|---|---|
committer | Jeff Niu <jeff@modular.com> | 2022-08-04 10:24:45 -0400 |
commit | d0541b47000739c68c540170c6b9790ec1ea3b77 (patch) | |
tree | 4cf4256b42678b2fe2e80fd3e84e32f2c2fab0e4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 74940d2668980dd5f7025eef7112708061a78f05 (diff) | |
download | llvm-d0541b47000739c68c540170c6b9790ec1ea3b77.zip llvm-d0541b47000739c68c540170c6b9790ec1ea3b77.tar.gz llvm-d0541b47000739c68c540170c6b9790ec1ea3b77.tar.bz2 |
[mlir] Add I1 support to DenseArrayAttr
This patch adds a DenseI1ArrayAttr to support arrays of i1. Importantly,
the implementation is as a simple `ArrayRef<bool>` instead of using bit
compression, which was problematic in DenseElementsAttr.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D130957
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions