In addition to the self-recursion check, also check whether there is more than one node in the SCC, which implies that there is a larger cycle. I believe checking SCC structure (rather than something like norecurse) is the right thing to do here, because this is specifically about preventing infinite loops over the SCC.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo