We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0dfb1 commit 22ba2acCopy full SHA for 22ba2ac
mlir/lib/Dialect/Tosa/Transforms/TosaReduceTransposes.cpp
@@ -658,10 +658,10 @@ void TosaReduceTransposes::runOnOperation() {
658
// (like the TransposeOp we insert for ReshapeOp),
659
// but in this case, that is specialized enough and overlaps
660
// with another direct-use TransposeOp case we need to cover anyway.
661
- transposeInfo.push_back({transposeOp, dependentOps});
+ transposeInfo.emplace_back(transposeOp, dependentOps);
662
663
// This is for the final replacement across all transposes.
664
- totalTransposeOrder.push({transposeOp, perms});
+ totalTransposeOrder.emplace(transposeOp, perms);
665
});
666
667
// We want to do a full fan-in analysis on a perms-level,
0 commit comments