Skip to content

Commit a45c013

Browse files
authored
Deprecate OpBuilder::create in favor of OpTy::create (#228)
1 parent f30d610 commit a45c013

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/content/deprecation/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ The `vector.splat` operation has been deprecated.
2424

2525
[Discussion on Discourse](https://discourse.llvm.org/t/rfc-mlir-vector-deprecate-then-remove-vector-splat/87143)
2626

27+
### Use `OpTy::create(builder, loc, ...)` instead of `builder.create<OpTy>(loc, ...)`
28+
29+
The `OpBuilder::create` API has been deprecated in favor of generated `OpTy::create` methods.
30+
31+
[Discussion on Discourse](https://discourse.llvm.org/t/psa-opty-create-now-with-100-more-tab-complete/87339)
32+
2733
## On-going Refactoring & large changes
2834

2935
# Past Deprecation and Refactoring

0 commit comments

Comments
 (0)