[Mlir-commits] [mlir] da95a0d - [mlir] NFC - Appease gcc 5

Nicolas Vasilache llvmlistbot at llvm.org
Tue May 19 19:51:47 PDT 2020


Author: Nicolas Vasilache
Date: 2020-05-19T22:47:51-04:00
New Revision: da95a0d8cc20f23814e1c01b54271fe3115051fd

URL: https://github.com/llvm/llvm-project/commit/da95a0d8cc20f23814e1c01b54271fe3115051fd
DIFF: https://github.com/llvm/llvm-project/commit/da95a0d8cc20f23814e1c01b54271fe3115051fd.diff

LOG: [mlir] NFC - Appease gcc 5

This should fix the error ```
VectorToSCF.cpp:238:62: error: specialization of 'template<class
ConcreteOp> mlir::LogicalResult
{anonymous}::NDTransferOpHelper<ConcreteOp>::doReplace()' in different
namespace
```

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 bfe0c44a5d90..a06c5984c4e9 100644
--- a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
+++ b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
@@ -133,7 +133,6 @@ class NDTransferOpHelper {
   VectorType minorVectorType; // vector<(minor_dims) x type>
   MemRefType memRefMinorVectorType; // memref<vector<(minor_dims) x type>>
 };
-} // namespace
 
 template <typename ConcreteOp>
 template <typename Lambda>
@@ -273,6 +272,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


        


More information about the Mlir-commits mailing list