[all-commits] [llvm/llvm-project] 50a7c7: [mlir][sparse] Calling `SparseTensorType::get{Pos, ...
wren romano via All-commits
all-commits at lists.llvm.org
Thu May 18 12:29:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50a7c77389b031de1127c88266a22bc04063aca7
https://github.com/llvm/llvm-project/commit/50a7c77389b031de1127c88266a22bc04063aca7
Author: wren romano <2998727+wrengr at users.noreply.github.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
Log Message:
-----------
[mlir][sparse] Calling `SparseTensorType::get{Pos,Crd}Type` directly
The `SparseTensorType` versions of these methods have some special handling to ensure that they work for unannotated tensors; whereas, the `stt.getEncoding().get{Pos,Crd}Type()` idiom can cause segfaults.
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D150815
More information about the All-commits
mailing list