[Mlir-commits] [mlir] [mlir][bufferization] handle exit aliases in buffer-loop-hoisting (PR #226951)

Matteo Di Iorio llvmlistbot at llvm.org
Fri Oct 2 01:00:35 PDT 2026


================
@@ -337,7 +394,9 @@ struct BufferAllocationHoistingState : BufferAllocationHoistingStateBase {
   }
 
   /// Returns true if the given operation does not represent a loop.
-  bool isLegalPlacement(Operation *op) { return !isLoop(op); }
+  bool isLegalPlacement(Operation *op, Operation *scopeOp) {
----------------
splicer3 wrote:

Right, also after the rebase on #228050 that parameter shouldn't even be necessary

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


More information about the Mlir-commits mailing list