[Mlir-commits] [mlir] [MLIR][Mesh] Add sharding propagation pass	(PR #69665)
    Chengji Yao 
    llvmlistbot at llvm.org
       
    Sat Oct 21 14:21:37 PDT 2023
    
    
  
yaochengji wrote:
> I only see setShardingOptionAttr(builder, *shardingOption); and shardingOp.addShardingAnnotations, where are these added?
They are defined in `ShardingInterface.cpp`.
> Also, wouldn't for (Operation &op : llvm::make_early_inc(block.getOperations())) { still work? Assuming the shard ops are added immediately after the current operation (otherwise they can be also just skipped ...)
Yeah, ` llvm::make_early_inc_range` is better. 
https://github.com/llvm/llvm-project/pull/69665
    
    
More information about the Mlir-commits
mailing list