[all-commits] [llvm/llvm-project] 3360a2: [mlir][SparseTensor] Fix type conversion rule (#14...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat May 17 17:21:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3360a23e60b00fb0260b2aa37495867cff3ec40d
https://github.com/llvm/llvm-project/commit/3360a23e60b00fb0260b2aa37495867cff3ec40d
Author: Matthias Springer <me at m-sp.org>
Date: 2025-05-18 (Sun, 18 May 2025)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorDescriptor.cpp
Log Message:
-----------
[mlir][SparseTensor] Fix type conversion rule (#140350)
A type conversion rule cannot make any assumptions about the number of
pre-existing types in the `results` vector.
This commit fixes a failed assertion in a SparseTensor type conversion
rule. This is only reproducible when type conversion caching is
deactivated. There's no way to do this at the moment. This commit is in
preparation of adding context-aware type conversions, which will
deactivate type caching in such cases.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list