[Mlir-commits] [mlir] [mlir][affine] re-land implement `promoteIfSingleIteration` for `AffineForOp` (PR #72805)
    llvmlistbot at llvm.org 
    llvmlistbot at llvm.org
       
    Sun Nov 19 14:04:33 PST 2023
    
    
  
srcarroll wrote:
Another point against leaving it as inserting in the parent `func.func` (or at least as it is now) is that it's too restrictive and in fact buggy.  first of all this wouldn't work on `affine.for` inside any other funclike op. second, the original implementation doesn't have any null checks so would crash anyway.
https://github.com/llvm/llvm-project/pull/72805
    
    
More information about the Mlir-commits
mailing list