diff options
author | maxbartel <bartel@roofline.ai> | 2024-05-17 16:29:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 10:29:48 -0400 |
commit | 9ba0a7725680fec5e071634f814a9d32ba33e852 (patch) | |
tree | cdd0d70935c4cbc9c529cb15a851e9e22e36ae4d /llvm/lib/Support/CommandLine.cpp | |
parent | 30d0850e0f780b17a37522e6503c98ebe197c5fa (diff) | |
download | llvm-9ba0a7725680fec5e071634f814a9d32ba33e852.zip llvm-9ba0a7725680fec5e071634f814a9d32ba33e852.tar.gz llvm-9ba0a7725680fec5e071634f814a9d32ba33e852.tar.bz2 |
[mlir][spirv] Add support for dense_resource in arith to spirv (#91318)
This adds support for `dense_resource` in arith to spirv.
Note that this inlines the blob into the IR. Another possibility would
be to add proper dense_resource support to spirv, but there is a lot of
special handling going on to convert a `DenseElementsAttr` to the
correct SPIRV type. Some of that even iterates over all the values in
the Attribute. For proper support of a `DenseResourceElementsAttr` this
probably needs a redesign. I would like to hear some opinions on that!
The test is disabled on non little Endian machines. See
https://github.com/llvm/llvm-project/issues/63469 for more information.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions