[Mlir-commits] [mlir] Enable LICM for ops with only read side effects in scf.for (PR #120302)
    donald chen 
    llvmlistbot at llvm.org
       
    Thu Dec 26 04:43:47 PST 2024
    
    
  
================
@@ -395,6 +395,60 @@ std::optional<SmallVector<OpFoldResult>> ForOp::getLoopUpperBounds() {
 
 std::optional<ResultRange> ForOp::getLoopResults() { return getResults(); }
 
+FailureOr<std::pair<Operation *, Region *>> ForOp::wrapInTripCountCheck() {
+
----------------
cxy-1993 wrote:
 Strip blank lines
https://github.com/llvm/llvm-project/pull/120302
    
    
More information about the Mlir-commits
mailing list