[Mlir-commits] [mlir] [mlir][linalg] convert arith ops to destination-passing-style. (PR #157854)
    Andrzej WarzyĆski 
    llvmlistbot at llvm.org
       
    Wed Sep 10 06:44:39 PDT 2025
    
    
  
banach-space wrote:
Thanks Javed!
> specifically is useful for loewr-quant-ops which operate on tensors and ops like qcast generates arith ops on tensors which without dps cannot bufferize
This sounds like a very good justification, but could you share a repro so that we can see what the issue is? In particular, it would be good to make sure that we are not missing some other, less involved, solution to this. This could be either here or as a GitHub issue if it's more involved.
> Converts arith ops that operate on tensors but are not in destination passing style (DPS) to equivalent linalg generic which is in DPS.
Hm, isn't this saying "rewrite arith Ops on tensors as a linalg.generic"? As in, DPS is just a by-product/justification for this rewrite (as opposed to being the end goal)?
https://github.com/llvm/llvm-project/pull/157854
    
    
More information about the Mlir-commits
mailing list