[mlir][VectorOps]

Put back anonymous namespace to work around GCC5 bug.

VectorToSCF.cpp:241:61: error: specialization of 'template<class ConcreteOp> mlir::LogicalResult {anonymous}::NDTransferOpHelper<ConcreteOp>::doReplace()' in different namespace [-fpermissive]
This commit is contained in:
Benjamin Kramer 2020-09-08 14:02:46 +02:00
parent ae85da86ad
commit df63eedef6
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,6 @@ private:
VectorType minorVectorType; // vector<(minor_dims) x type>
MemRefType memRefMinorVectorType; // memref<vector<(minor_dims) x type>>
};
} // namespace
template <typename ConcreteOp>
void NDTransferOpHelper<ConcreteOp>::emitLoops(
@ -395,6 +394,8 @@ LogicalResult NDTransferOpHelper<TransferWriteOp>::doReplace() {
return success();
}
} // namespace
/// Analyzes the `transfer` to find an access dimension along the fastest remote
/// MemRef dimension. If such a dimension with coalescing properties is found,
/// `pivs` and `vectorBoundsCapture` are swapped so that the invocation of