diff --git a/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticBase.td b/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticBase.td --- a/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticBase.td +++ b/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticBase.td @@ -22,7 +22,7 @@ }]; let hasConstantMaterializer = 1; - let emitAccessorPrefix = kEmitAccessorPrefix_Both; + let emitAccessorPrefix = kEmitAccessorPrefix_Prefixed; } // The predicate indicates the type of the comparison to perform: diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td --- a/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td +++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td @@ -48,7 +48,7 @@ static StringRef getTargetTripleAttrName() { return "llvm.target_triple"; } }]; - let emitAccessorPrefix = kEmitAccessorPrefix_Both; + let emitAccessorPrefix = kEmitAccessorPrefix_Prefixed; } //===----------------------------------------------------------------------===// diff --git a/mlir/include/mlir/Dialect/Math/IR/MathBase.td b/mlir/include/mlir/Dialect/Math/IR/MathBase.td --- a/mlir/include/mlir/Dialect/Math/IR/MathBase.td +++ b/mlir/include/mlir/Dialect/Math/IR/MathBase.td @@ -15,6 +15,6 @@ The math dialect is intended to hold mathematical operations on integer and floating type beyond simple arithmetics. }]; - let emitAccessorPrefix = kEmitAccessorPrefix_Both; + let emitAccessorPrefix = kEmitAccessorPrefix_Prefixed; } #endif // MATH_BASE diff --git a/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td b/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td --- a/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td +++ b/mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td @@ -39,7 +39,7 @@ let hasConstantMaterializer = 1; let hasOperationAttrVerify = 1; - let emitAccessorPrefix = kEmitAccessorPrefix_Both; + let emitAccessorPrefix = kEmitAccessorPrefix_Prefixed; } def Shape_ShapeType : DialectType