[all-commits] [llvm/llvm-project] 4a6ee2: [mlir][linalg] Fix bug in the fusion on tensors in...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Wed May 5 07:47:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a6ee23d832f823d71faf7d0dca1b6eec71df253
https://github.com/llvm/llvm-project/commit/4a6ee23d832f823d71faf7d0dca1b6eec71df253
Author: Tobias Gysi <gysit at google.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
M mlir/test/Dialect/Linalg/fusion-tensor.mlir
Log Message:
-----------
[mlir][linalg] Fix bug in the fusion on tensors index op handling.
The old index op handling let the new index operations point back to the
producer block. As a result, after fusion some index operations in the
fused block had back references to the old producer block resulting in
illegal IR. The patch now relies on a block and value mapping to avoid
such back references.
Differential Revision: https://reviews.llvm.org/D101887
More information about the All-commits
mailing list