[mlir][transform] Add `transform.apply_licm` op
authorMatthias Springer <me@m-sp.org>
Mon, 3 Jul 2023 13:24:35 +0000 (15:24 +0200)
committerMatthias Springer <me@m-sp.org>
Mon, 3 Jul 2023 13:28:53 +0000 (15:28 +0200)
commitfa1a23a720eefcaad0ff5e43ca2ffd123675a834
tree1faec09125b2e002ae2462997982780b28b436fa
parentc14b0a7c55ee1cdab8725f2561172096cab86bde
[mlir][transform] Add `transform.apply_licm` op

This op applies loop-invariant code motion to the targeted loop-like op.

Differential Revision: https://reviews.llvm.org/D154327
mlir/include/mlir/Dialect/Transform/IR/TransformOps.h
mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/CMakeLists.txt
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/test-interpreter.mlir
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel