[all-commits] [llvm/llvm-project] 6cd7b6: [mlir][bufferization] Prevent crash in one shot bu...
Kai Sasaki via All-commits
all-commits at lists.llvm.org
Thu May 18 16:54:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6cd7b655d83047565f03cfbb0bdf70cae3acf1c2
https://github.com/llvm/llvm-project/commit/6cd7b655d83047565f03cfbb0bdf70cae3acf1c2
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2023-05-19 (Fri, 19 May 2023)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
Log Message:
-----------
[mlir][bufferization] Prevent crash in one shot bufferization with unranked tensor cast
One shot bufferization does not support bufferizing the cast between unranked tensors. To prevent the crash, we can check the compatibility of the result type in advance. Reported in https://github.com/llvm/llvm-project/issues/62369.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D149239
More information about the All-commits
mailing list