[Mlir-commits] [mlir] f1bc3af - [mlir][scf] DCE unimplemented decls in TDs (#121237)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Dec 28 12:53:09 PST 2024


Author: Maksim Levental
Date: 2024-12-28T14:53:05-06:00
New Revision: f1bc3afb6cb07d6cc9bb3dce963130a879978aa1

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

LOG: [mlir][scf] DCE unimplemented decls in TDs (#121237)

More dead code in headers...

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/SCF/IR/SCF.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/SCF/IR/SCF.h b/mlir/include/mlir/Dialect/SCF/IR/SCF.h
index b62c9417979478..ba648181daecb4 100644
--- a/mlir/include/mlir/Dialect/SCF/IR/SCF.h
+++ b/mlir/include/mlir/Dialect/SCF/IR/SCF.h
@@ -40,12 +40,6 @@ void buildTerminatedBody(OpBuilder &builder, Location loc);
 namespace mlir {
 namespace scf {
 
-// Insert `loop.yield` at the end of the only region's only block if it
-// does not have a terminator already.  If a new `loop.yield` is inserted,
-// the location is specified by `loc`. If the region is empty, insert a new
-// block first.
-void ensureLoopTerminator(Region &region, Builder &builder, Location loc);
-
 /// Returns the loop parent of an induction variable. If the provided value is
 /// not an induction variable, then return nullptr.
 ForOp getForInductionVarOwner(Value val);


        


More information about the Mlir-commits mailing list