[Mlir-commits] [mlir] 8619212 - [mlir] Flip math dialect to _Both	prefixed form (NFC)
    Jacques Pienaar 
    llvmlistbot at llvm.org
       
    Tue Nov  9 09:30:45 PST 2021
    
    
  
Author: Jacques Pienaar
Date: 2021-11-09T09:30:37-08:00
New Revision: 8619212b94994df7d5bedda2d6dfca5a439b3eaa
URL: https://github.com/llvm/llvm-project/commit/8619212b94994df7d5bedda2d6dfca5a439b3eaa
DIFF: https://github.com/llvm/llvm-project/commit/8619212b94994df7d5bedda2d6dfca5a439b3eaa.diff
LOG: [mlir] Flip math dialect to _Both prefixed form (NFC)
See https://llvm.discourse.group/t/psa-ods-generated-accessors-will-change-to-have-a-get-prefix-update-you-apis/4476
Added: 
    
Modified: 
    mlir/include/mlir/Dialect/Math/IR/MathBase.td
Removed: 
    
################################################################################
diff  --git a/mlir/include/mlir/Dialect/Math/IR/MathBase.td b/mlir/include/mlir/Dialect/Math/IR/MathBase.td
index daf4cb3f86b42..4216b73844f61 100644
--- a/mlir/include/mlir/Dialect/Math/IR/MathBase.td
+++ b/mlir/include/mlir/Dialect/Math/IR/MathBase.td
@@ -15,5 +15,6 @@ def Math_Dialect : Dialect {
     The math dialect is intended to hold mathematical operations on integer and
     floating type beyond simple arithmetics.
   }];
+  let emitAccessorPrefix = kEmitAccessorPrefix_Both;
 }
 #endif // MATH_BASE
        
    
    
More information about the Mlir-commits
mailing list