[Mlir-commits] [flang] [mlir] [flang] Added OperationMoveOpInterface for controlling LICM. (PR #175108)

Matthias Springer llvmlistbot at llvm.org
Sat Jan 10 06:25:05 PST 2026


================
@@ -94,6 +95,28 @@ struct OffloadRegionModel
     : public mlir::acc::OffloadRegionOpInterface::ExternalModel<
           OffloadRegionModel<Op>, Op> {};
 
+/// External model for fir::OperationMoveOpInterface.
+/// This interface provides methods to identify whether
+/// operations can be moved (e.g. by LICM) from/into
----------------
matthias-springer wrote:

What other transformations must query this interface? What about CSE?

https://github.com/llvm/llvm-project/pull/175108


More information about the Mlir-commits mailing list