aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Rewrite/ByteCode.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-08-09 12:47:13 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-08-09 19:37:01 -0700
commit363b655920c49a4bcb0869f820ed40aac834eebd (patch)
treedd36fdd7f7aa339338c0e530c4aa6425622beba5 /mlir/lib/Rewrite/ByteCode.cpp
parent1b272d21c8162ff577d1c45d1f9320f3465db23c (diff)
downloadllvm-363b655920c49a4bcb0869f820ed40aac834eebd.zip
llvm-363b655920c49a4bcb0869f820ed40aac834eebd.tar.gz
llvm-363b655920c49a4bcb0869f820ed40aac834eebd.tar.bz2
Finish renaming getOperandSegmentSizeAttr() from `operand_segment_sizes` to `operandSegmentSizes`
This renaming started with the native ODS support for properties, this is completing it. A mass automated textual rename seems safe for most codebases. Drop also the ods prefix to keep the accessors the same as they were before this change: properties.odsOperandSegmentSizes reverts back to: properties.operandSegementSizes The ODS prefix was creating divergence between all the places and make it harder to be consistent. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D157173
Diffstat (limited to 'mlir/lib/Rewrite/ByteCode.cpp')
-rw-r--r--mlir/lib/Rewrite/ByteCode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Rewrite/ByteCode.cpp b/mlir/lib/Rewrite/ByteCode.cpp
index c8c44282..e7d4c40 100644
--- a/mlir/lib/Rewrite/ByteCode.cpp
+++ b/mlir/lib/Rewrite/ByteCode.cpp
@@ -1846,7 +1846,7 @@ void ByteCodeExecutor::executeGetOperands() {
ByteCodeField rangeIndex = read();
void *result = executeGetOperandsResults<OpTrait::AttrSizedOperandSegments>(
- op->getOperands(), op, index, rangeIndex, "operand_segment_sizes",
+ op->getOperands(), op, index, rangeIndex, "operandSegmentSizes",
valueRangeMemory);
if (!result)
LLVM_DEBUG(llvm::dbgs() << " * Invalid operand range\n");
@@ -1872,7 +1872,7 @@ void ByteCodeExecutor::executeGetResults() {
ByteCodeField rangeIndex = read();
void *result = executeGetOperandsResults<OpTrait::AttrSizedResultSegments>(
- op->getResults(), op, index, rangeIndex, "result_segment_sizes",
+ op->getResults(), op, index, rangeIndex, "resultSegmentSizes",
valueRangeMemory);
if (!result)
LLVM_DEBUG(llvm::dbgs() << " * Invalid result range\n");