forked from OSchip/llvm-project
Apply clang-tidy fixes for llvm-qualified-auto in VectorTransforms.cpp (NFC)
This commit is contained in:
parent
2d06420879
commit
35f48edb91
|
@ -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>(
|
||||
|
|
Loading…
Reference in New Issue