diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2023-09-11 14:10:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 14:10:03 -0700 |
commit | 7055df7b4f6abf64f672703316bb8a7e7b185652 (patch) | |
tree | 01ab08f451a24190390cc1a8260f08694a7b42f0 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | cc2013061ee63f3fc4f9b49c6d836d99d102071b (diff) | |
download | llvm-7055df7b4f6abf64f672703316bb8a7e7b185652.zip llvm-7055df7b4f6abf64f672703316bb8a7e7b185652.tar.gz llvm-7055df7b4f6abf64f672703316bb8a7e7b185652.tar.bz2 |
[mlir] Make it possible to build a DenseResourceElementsAttr from untyped memory. (#66009)
Exposes the existing `get(ShapedType, StringRef, AsmResourceBlob)`
builder publicly (was protected) and adds a CAPI
`mlirUnmanagedDenseBlobResourceElementsAttrGet`.
While such a generic construction interface is a big help when it comes
to interop, it is also necessary for creating resources that don't have
a standard C type (i.e. f16, the f8s, etc).
Previously reviewed/approved as part of https://reviews.llvm.org/D157064
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions