Skip to content

Commit 31c474a

Browse files
authored
Move LLVM typed pointers to past Deprecations (#163)
Since llvm/llvm-project@4983432, typed pointers in the LLVM dialect have been completely removed and only opaque pointers supported in all of upstream. This completes all upstream refactoring and deprecation which is why this PR moves the text into the past deprecations and refactoring. Since the LLVM 17 release has already happened since then it was also moved to a new LLVM 18 section, warning users upgrading to LLVM 18 from 17 about the change.
1 parent d0ad36a commit 31c474a

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

website/content/deprecation/_index.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ When casting attributes or type, use the free functions variants, e.g.,
2020
methods in the future.
2121
[Discussion on Discourse](https://discourse.llvm.org/t/preferred-casting-style-going-forward/68443)
2222

23-
### Port uses of LLVM Dialect to opaque pointers
24-
25-
LLVM 17 has stopped officially supporting typed pointers, and MLIRs LLVM Dialect
26-
is now in the process of dropping the support as well. This was announced back
27-
in February 2023 ([PSA](https://discourse.llvm.org/t/psa-in-tree-conversion-passes-can-now-be-used-with-llvm-opaque-pointers-please-switch-your-downstream-projects/68738))
28-
, and now the final steps, i.e., removing the typed pointers, have started
29-
([PSA](https://discourse.llvm.org/t/psa-removal-of-typed-pointers-from-the-llvm-dialect/74502)).
30-
If you are still targeting LLVM dialect with typed pointers, an update to
31-
support opaque pointers will be necessary.
32-
3323
## On-going Refactoring & large changes
3424

3525
# Past Deprecation and Refactoring
@@ -84,3 +74,15 @@ For these attributes to work correctly, making registration calls to `registerNV
8474
`registerROCDLTargetInterfaceExternalModels` and `registerOffloadingLLVMTranslationInterfaceExternalModels` are necessary.
8575

8676
The passes `gpu-to-(cubin|hsaco)` will be removed in a future release.
77+
78+
## LLVM 18
79+
80+
### Port uses of LLVM Dialect to opaque pointers
81+
82+
LLVM 17 has stopped officially supporting typed pointers, and MLIRs LLVM Dialect
83+
is now in the process of dropping the support as well. This was announced back
84+
in February 2023 ([PSA](https://discourse.llvm.org/t/psa-in-tree-conversion-passes-can-now-be-used-with-llvm-opaque-pointers-please-switch-your-downstream-projects/68738))
85+
, and now the final steps, i.e., removing the typed pointers, have started
86+
([PSA](https://discourse.llvm.org/t/psa-removal-of-typed-pointers-from-the-llvm-dialect/74502)).
87+
If you are still targeting LLVM dialect with typed pointers, an update to
88+
support opaque pointers will be necessary.

0 commit comments

Comments
 (0)