Skip to content
Unverified Commit 6cd7b655 authored by Kai Sasaki's avatar Kai Sasaki
Browse files

[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
parent c9bbc64e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment