[clang] [TBAA] Emit distinct TBAA tags for pointers with different depths,types. (PR #76612)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 14:21:26 PDT 2024
================
@@ -392,6 +392,10 @@ Non-comprehensive list of changes in this release
- ``#pragma GCC diagnostic warning "-Wfoo"`` can now downgrade ``-Werror=foo``
errors and certain default-to-error ``-W`` diagnostics to warnings.
+- Clang now emits distinct type-based alias analysis tags for incompatible
+ pointers, enabling more powerful alias analysis when accessing pointer types.
+ The new behavior can be disabledusing ``-fno-pointer-tbaa``.
----------------
philnik777 wrote:
```suggestion
The new behavior can be disabled using ``-fno-pointer-tbaa``.
```
https://github.com/llvm/llvm-project/pull/76612
More information about the cfe-commits
mailing list