[Mlir-commits] [mlir] ebf14d9 - [mlir] NFC - Appease GCC 5 again..
Nicolas Vasilache
llvmlistbot at llvm.org
Wed May 20 13:49:23 PDT 2020
Author: Nicolas Vasilache
Date: 2020-05-20T16:47:45-04:00
New Revision: ebf14d9b6d8bd33a1f684e9c74bf7eebc00b6ff1
URL: https://github.com/llvm/llvm-project/commit/ebf14d9b6d8bd33a1f684e9c74bf7eebc00b6ff1
DIFF: https://github.com/llvm/llvm-project/commit/ebf14d9b6d8bd33a1f684e9c74bf7eebc00b6ff1.diff
LOG: [mlir] NFC - Appease GCC 5 again..
Added:
Modified:
mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
index 4b0368f8c8cc..4743fe67f764 100644
--- a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
+++ b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
@@ -438,14 +438,14 @@ clip(TransferOpTy transfer, MemRefBoundsCapture &bounds, ArrayRef<Value> ivs) {
}
template <typename TransferOpTy>
-VectorTransferRewriter<TransferOpTy>::VectorTransferRewriter(
+mlir::VectorTransferRewriter<TransferOpTy>::VectorTransferRewriter(
VectorTransferToSCFOptions options, MLIRContext *context)
: RewritePattern(TransferOpTy::getOperationName(), 1, context),
options(options) {}
/// Used for staging the transfer in a local buffer.
template <typename TransferOpTy>
-MemRefType VectorTransferRewriter<TransferOpTy>::tmpMemRefType(
+MemRefType mlir::VectorTransferRewriter<TransferOpTy>::tmpMemRefType(
TransferOpTy transfer) const {
auto vectorType = transfer.getVectorType();
return MemRefType::get(vectorType.getShape(), vectorType.getElementType(), {},
@@ -496,7 +496,7 @@ MemRefType VectorTransferRewriter<TransferOpTy>::tmpMemRefType(
/// Performs the rewrite.
template <>
-LogicalResult VectorTransferRewriter<TransferReadOp>::matchAndRewrite(
+LogicalResult mlir::VectorTransferRewriter<TransferReadOp>::matchAndRewrite(
Operation *op, PatternRewriter &rewriter) const {
using namespace mlir::edsc::op;
@@ -569,7 +569,7 @@ LogicalResult VectorTransferRewriter<TransferReadOp>::matchAndRewrite(
/// TODO(ntv): implement alternatives to clipping.
/// TODO(ntv): support non-data-parallel operations.
template <>
-LogicalResult VectorTransferRewriter<TransferWriteOp>::matchAndRewrite(
+LogicalResult mlir::VectorTransferRewriter<TransferWriteOp>::matchAndRewrite(
Operation *op, PatternRewriter &rewriter) const {
using namespace edsc::op;
More information about the Mlir-commits
mailing list