[Mlir-commits] [mlir] [mlir][affine] Fix crash when rolling back vectorization of reduction loops (PR #226912)

Federico Bruzzone llvmlistbot at llvm.org
Mon Sep 28 03:44:44 PDT 2026


================
@@ -891,6 +891,15 @@ static void eraseLoopNest(AffineForOp forOp) {
   forOp.erase();
 }
 
+/// Recursively erases the users of the results of 'op'.
+static void eraseUsers(Operation *op) {
+  while (!op->use_empty()) {
----------------
FedericoBruzzone wrote:

Can we log something here?

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


More information about the Mlir-commits mailing list