[flang-commits] [flang] [flang] Record the evaluations that branch to each evaluation (PR #225755)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Thu Sep 24 02:00:54 PDT 2026


================
@@ -920,6 +924,8 @@ class PFTBuilder {
                         &targetEvaluation) ==
                  sourceEvaluation.extraControlSuccessors.end())
       sourceEvaluation.extraControlSuccessors.push_back(&targetEvaluation);
+    // Record the reverse edge beside the forward one.
+    (*incomingBranches)[&targetEvaluation].insert(&sourceEvaluation);
----------------
ergawy wrote:

d5c01b4c007f9396954ec7d5dca75c59b252ff3e updates the docs to make the intent clearer.

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


More information about the flang-commits mailing list