[llvm-branch-commits] [clang] release/20.x: [TBAA] Don't emit pointer-tbaa for void pointers. (#122116) (PR #125206)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 18 06:31:26 PST 2025


fhahn wrote:

Without the pointer-tbaa changes (which is new on by default in Clang 20), we would always generate `any pointer`. Without this fix, we will generate different tags for different `void` pointer depths. 

With this fix, we will generate `any pointer` again for `void` pointers. I think this should be very safe to take.

https://github.com/llvm/llvm-project/pull/125206


More information about the llvm-branch-commits mailing list