diff --git a/mlir/include/mlir/IR/Builders.h b/mlir/include/mlir/IR/Builders.h --- a/mlir/include/mlir/IR/Builders.h +++ b/mlir/include/mlir/IR/Builders.h @@ -333,7 +333,7 @@ /// defining operation. This will cause subsequent insertions to go right /// after it. Otherwise, value is a BlockArgumen. Sets the insertion point to /// the start of its block. - void setInsertionPointAfter(Value val) { + void setInsertionPointAfterValue(Value val) { if (Operation *op = val.getDefiningOp()) { setInsertionPointAfter(op); } else { diff --git a/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp b/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp --- a/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp +++ b/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp @@ -945,7 +945,7 @@ /// vectorization strategy in 'state'. static Value vectorizeUniform(Value value, VectorizationState *state) { OpBuilder builder(value.getContext()); - builder.setInsertionPointAfter(value); + builder.setInsertionPointAfterValue(value); auto vectorTy = getVectorType(value.getType(), state->strategy); auto bcast = builder.create(value.getLoc(), vectorTy, value);