forked from OSchip/llvm-project
[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:
parent
ae85da86ad
commit
df63eedef6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue