-
- Downloads
[mlir][arith][bufferize] Fix tensors with different layouts after bufferization
Insert a cast if the two tensors with identical layout (that are passed to `arith.select`) have different layout maps after bufferization. Differential Revision: https://reviews.llvm.org/D123321
Showing
- mlir/lib/Dialect/Arithmetic/Transforms/BufferizableOpInterfaceImpl.cpp 21 additions, 0 deletions...ect/Arithmetic/Transforms/BufferizableOpInterfaceImpl.cpp
- mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir 14 additions, 0 deletions.../Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
Please register or sign in to comment