[llvm] [ValueTracking] Allow getUnderlyingPointer to look through inttoptr/ptrtoint round trip casts (PR #146432)

Drew Kersnar via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 08:06:57 PDT 2025


dakersnar wrote:

It fixes the problem because it would also be paired with an increase in the MaxUsesToExplore in CaptureTracking.cpp. Speaking of which, now that this cache exists, should we consider increasing that default limit, as the TODO suggests? Or is that TODO referring to a different type of cache?

Perhaps we could have two separate limits, one that is higher and only to be used if the caller is using the Batched version of Alias Analysis?

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


More information about the llvm-commits mailing list