Apply clang-tidy fixes for llvm-qualified-auto in VectorTransforms.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-04-03 23:37:05 +00:00
parent 2d06420879
commit 35f48edb91
1 changed files with 2 additions and 2 deletions

View File

@ -1039,7 +1039,7 @@ struct ReorderCastOpsOnBroadcast
Type castResTy = getElementTypeOrSelf(op->getResult(0));
if (auto vecTy = bcastOp.getSourceType().dyn_cast<VectorType>())
castResTy = VectorType::get(vecTy.getShape(), castResTy);
auto castOp =
auto *castOp =
rewriter.create(op->getLoc(), op->getName().getIdentifier(),
bcastOp.getSource(), castResTy, op->getAttrs());
rewriter.replaceOpWithNewOp<vector::BroadcastOp>(
@ -1079,7 +1079,7 @@ struct ReorderCastOpsOnTranspose
auto castResTy = transpOp.getVectorType();
castResTy = VectorType::get(castResTy.getShape(),
getElementTypeOrSelf(op->getResult(0)));
auto castOp =
auto *castOp =
rewriter.create(op->getLoc(), op->getName().getIdentifier(),
transpOp.getVector(), castResTy, op->getAttrs());
rewriter.replaceOpWithNewOp<vector::TransposeOp>(