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

Aaron Ballman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 18 08:56:50 PST 2025


AaronBallman 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.

Okay, thank you for the explanation! I'm okay with this (hopefully early rc testing will shake out any serious issues if there are any).

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


More information about the llvm-branch-commits mailing list