Files
llvm-project/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
Nathiyaa Sengodan 5502053d57 [MemoryDependenceAnalysis] Disambiguate visited state in non-local pointer dep tracking (#193220)
NonLocalPointerDepVisited used nullptr for both "not visited basic block
in current epoch" and "visited, but PHI translation failed". This
ambiguity could cause incorrect predecessor-state handling in non-local
dependency queries and trigger a GVN LoadPRE assertion crash.

Use NonLocalPointerDepEpoch to explicitly check visited state instead of
inferring from the stored pointer value

Fixes https://github.com/llvm/llvm-project/issues/190585
2026-04-23 11:24:43 +02:00

70 KiB