[PATCH] D132704: [LCSSA] Re-use suitable PHI if available instead creating new ones.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 14:32:13 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/LCSSA.cpp:176
+        }
+      }
       Builder.SetInsertPoint(&ExitBB->front());
----------------
Is the new code to prevent creating identical PHI nodes part of the fix, or just an optimization?  It isn't obviously related.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132704/new/

https://reviews.llvm.org/D132704



More information about the llvm-commits mailing list