[llvm] [SCEV] Collect and merge loop guards through PHI nodes with multiple incoming values (PR #113915)

Julian Nagele via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 04:55:50 PST 2024


================
@@ -1316,6 +1316,11 @@ class ScalarEvolution {
 
     LoopGuards(ScalarEvolution &SE) : SE(SE) {}
 
+    static LoopGuards
+    collectFromBlock(ScalarEvolution &SE, ScalarEvolution::LoopGuards &Guards,
----------------
juliannagele wrote:

yes, no need to return, updated to void and added comment

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


More information about the llvm-commits mailing list