[Mlir-commits] [mlir] 8805cf2 - [mlir] Remove redundant `inline` from D131323

Markus Böck llvmlistbot at llvm.org
Mon Aug 8 04:18:17 PDT 2022


Author: Markus Böck
Date: 2022-08-08T13:18:09+02:00
New Revision: 8805cf2660d2add2dfc57869c63a6f3231cdf16b

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

LOG: [mlir] Remove redundant `inline` from D131323

Added: 
    

Modified: 
    mlir/include/mlir/IR/BuiltinTypes.td
    mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/BuiltinTypes.td b/mlir/include/mlir/IR/BuiltinTypes.td
index 85f6b598c8e7d..41336b1ea02c9 100644
--- a/mlir/include/mlir/IR/BuiltinTypes.td
+++ b/mlir/include/mlir/IR/BuiltinTypes.td
@@ -262,7 +262,7 @@ def Builtin_Integer : Builtin_Type<"Integer"> {
 
     /// Integer representation maximal bitwidth.
     /// Note: This is aligned with the maximum width of llvm::IntegerType.
-    static constexpr inline unsigned kMaxWidth = (1 << 24) - 1;
+    static constexpr unsigned kMaxWidth = (1 << 24) - 1;
   }];
 }
 

diff  --git a/mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp b/mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
index e3e32fa590b51..ee80825524d6f 100644
--- a/mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
+++ b/mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
@@ -178,7 +178,7 @@ struct AlignedAllocOpLowering : public AllocLikeOpLLVMLowering {
   }
 
   /// The minimum alignment to use with aligned_alloc (has to be a power of 2).
-  static inline constexpr uint64_t kMinAlignedAllocAlignment = 16UL;
+  static constexpr uint64_t kMinAlignedAllocAlignment = 16UL;
 
   /// Default layout to use in absence of the corresponding analysis.
   DataLayout defaultLayout;


        


More information about the Mlir-commits mailing list