Skip to content

Commit df010ad

Browse files
committed
[Arc] Avoid DenseMap iteration in SplitFuncs
1 parent fc5d880 commit df010ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Dialect/Arc/Transforms/SplitFuncs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ LogicalResult SplitFuncsPass::lowerFunc(FuncOp funcOp) {
9393
op.remove();
9494
(*blockIter)->push_back(&op);
9595
}
96-
DenseMap<Value, Value> argMap;
96+
MapVector<Value, Value> argMap;
9797
// Move function arguments to the block that will stay in the function
9898
for (unsigned argIndex = 0; argIndex < frontBlock->getNumArguments();
9999
++argIndex) {

0 commit comments

Comments
 (0)