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

Federico Bruzzone llvmlistbot at llvm.org
Fri Oct 2 00:19:56 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) {
----------------
FedericoBruzzone wrote:

scopeOp is unused here, so you can leave it unnamed

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


More information about the Mlir-commits mailing list