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
70 KiB
70 KiB