[llvm] [llvm-profgen] Fix break to continue in PrologEpilogTracker loops (PR #188565)

Wei Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 13:56:55 PDT 2026


================
@@ -129,7 +129,7 @@ struct PrologEpilogTracker {
       PrologEpilogSet.insert(I.first);
       InstructionPointer IP(Binary, I.first);
       if (!IP.advance())
-        break;
+        continue;
----------------
apolloww wrote:

Well, it seems there isn't a requirement of 2 addresses per function, so we should be fine here. 

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


More information about the llvm-commits mailing list