group.duplicate
← group dialect
Create another local owner of a communication group and its dependent dimensions. The duplicate names the same participant domain through a distinct SSA ownership identity.
Operation contract
| Property |
Value |
| Semantic phase |
executable |
| Traits |
UniqueIdentity, StorageRelation |
| Interfaces |
ValueDuplication |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
sources |
any |
variadic |
— |
| Result |
duplicates |
any |
variadic |
— |
Verification constraints
ClosedValueTuple(sources)
ClosedValueTuple(duplicates)
VariadicValuesMatch(duplicates, sources)
Examples
%copy_count, %copy = group.duplicate %count, %source : index, group<[%copy_count]>