[BasicAA] Don't count recursive phi sources as phi sources. (#236650)
Allow analyzing a single recursive phi, if all other sources are
non-phis. This improves results in a small number of cases and
prepares for a follow-up doing additional analysis for multiple phi
sources.
Improves results in a small number of cases end-to-end, but also
prepares for more analysis of other phi sources
https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/pull/1878
Compile-time increase is in the noise:
https://llvm-compile-time-tracker.com/compare.php?from=97f95cbc330683623836fb24f8c92c619c240a9c&to=5d76c05e0281ab2ab871869be52c7f16cb232484&stat=instructions:u
PR: https://github.com/llvm/llvm-project/pull/236650