pub unsafe extern "C" fn mlirRewriterBaseMergeBlocks(
rewriter: MlirRewriterBase,
source: MlirBlock,
dest: MlirBlock,
nArgValues: isize,
argValues: *const MlirValue,
)
Expand description
Inline the operations of block ‘source’ into the end of block ‘dest’. The source block will be deleted and must have no uses. ‘argValues’ is used to replace the block arguments of ‘source’
The dest block must have no successors. Otherwise, the resulting IR would have unreachable operation.