[Mlir-commits] [mlir] e84dcba - [MLIR] Remove leftover debug print code

Mehdi Amini llvmlistbot at llvm.org
Wed Oct 1 11:47:59 PDT 2025


Author: Mehdi Amini
Date: 2025-10-01T11:46:27-07:00
New Revision: e84dcba9246d696715fe1daa4ddb218182580a70

URL: https://github.com/llvm/llvm-project/commit/e84dcba9246d696715fe1daa4ddb218182580a70
DIFF: https://github.com/llvm/llvm-project/commit/e84dcba9246d696715fe1daa4ddb218182580a70.diff

LOG: [MLIR] Remove leftover debug print code

This was incorrectly left and merged with #160615

Added: 
    

Modified: 
    mlir/lib/IR/Builders.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/Builders.cpp b/mlir/lib/IR/Builders.cpp
index c84e760a3f363..8f199b60fccdc 100644
--- a/mlir/lib/IR/Builders.cpp
+++ b/mlir/lib/IR/Builders.cpp
@@ -489,13 +489,6 @@ OpBuilder::tryFold(Operation *op, SmallVectorImpl<Value> &results,
   SmallVector<OpFoldResult, 4> foldResults;
   LDBG() << "Trying to fold: "
          << OpWithFlags(op, OpPrintingFlags().skipRegions());
-  if (op->getName().getStringRef() == "vector.extract") {
-    Operation *parent = op->getParentOp();
-    while (parent && parent->getName().getStringRef() != "spirv.func")
-      parent = parent->getParentOp();
-    if (parent)
-      parent->dump();
-  }
   if (failed(op->fold(foldResults)))
     return cleanupFailure();
 


        


More information about the Mlir-commits mailing list