Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sorry, almost forgot this... Not sure if we need test for this, didn't see a proper place to do that.
mlir/lib/IR/BuiltinAttributes.cpp | ||
---|---|---|
1340 | auto? Since the type is already in the cast |
Comment Actions
Can you add a test? An easy one would be to add a test for folding tensor.extract with a sparse string elements attribute (https://github.com/llvm/llvm-project/blob/b5e8348bf2ded134e45dab879a13d26f5b9c5815/mlir/test/Dialect/Tensor/canonicalize.mlir#L86)
LG otherwise.
auto? Since the type is already in the cast