[llvm] [UniformityAnalysis] Add AssertingVH tracking and eraseValue() API for UniformValues consistency (PR #187658)

Pankaj Dwivedi via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 05:02:00 PDT 2026


PankajDwivedi-25 wrote:

The core problem is that AssertingVH fires on Value destruction, not on UniformityInfo access. This means every pass in the pipeline that could delete IR becomes a potential crash site, not just the passes that use uniformity.

Please see the changes added in the recent patch to fix the crash after adding assertingVH.

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


More information about the llvm-commits mailing list