diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2022-07-13 08:09:38 -0700 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2022-07-14 05:29:27 -0700 |
commit | 5a0011360c9cea0fdc182c8c66ed3bc774a50835 (patch) | |
tree | f97fcafc88626be7bbf827b981920dbc010186b2 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | b7e77ff25fb2412f6ab6d6cc756666b0e2f97bd3 (diff) | |
download | llvm-5a0011360c9cea0fdc182c8c66ed3bc774a50835.zip llvm-5a0011360c9cea0fdc182c8c66ed3bc774a50835.tar.gz llvm-5a0011360c9cea0fdc182c8c66ed3bc774a50835.tar.bz2 |
[mlir][Linalg] Retire LinalgPromotion pattern
This revision removes the LinalgPromotion pattern and adds a `transform.structured.promotion` op.
Since the LinalgPromotion transform allows the injection of arbitrary C++ via lambdas, the current
transform op does not handle it.
It is left for future work to decide what the right transform op control is for those cases.
Note the underlying implementation remains unchanged and the mechanism is still controllable by
lambdas from the API.
During this refactoring it was also determined that the `dynamicBuffers` option does not actually
connect to a change of behavior in the algorithm.
This also exhibits that the related test is wrong (and dangerous).
Both the option and the test are therefore removed.
Lastly, a test that connects patterns using the filter-based mechanism is removed: all the independent
pieces are already tested separately.
Context: https://discourse.llvm.org/t/psa-retire-linalg-filter-based-patterns/63785
Differential Revision: https://reviews.llvm.org/D129649
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions