[all-commits] [llvm/llvm-project] 8c6da7: [mlir][Transform] Fix applyToOne corner case when ...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Thu Jun 23 12:19:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c6da76483935d172c34e04e6c0106e33d803c61
https://github.com/llvm/llvm-project/commit/8c6da76483935d172c34e04e6c0106e33d803c61
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
M mlir/test/Dialect/Transform/test-interpreter.mlir
Log Message:
-----------
[mlir][Transform] Fix applyToOne corner case when no op is matched.
Such situations manifest themselves with an empty payload which ends up producing empty results.
In such cases, we still want to match the transform op contract and return as many empty SmallVector<Operation*>
as the op requires.
Differential Revision: https://reviews.llvm.org/D128456
More information about the All-commits
mailing list