[llvm] [LCSSA] Avoid rewriting lifetime markers through PHIs (PR #210811)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 20:35:01 PDT 2026


================
@@ -106,10 +106,22 @@ formLCSSAForInstructionsImpl(SmallVectorImpl<Instruction *> &Worklist,
     if (ExitBlocks.empty())
       continue;
 
+    SmallVector<Instruction *, 4> LifetimeMarkers;
----------------
boomanaiden154 wrote:

Is the 4 here experimentally derived?

Unless there's really good reason for a specific number (like empirical evidence), the programmer's manual generally suggests not specifying one.

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


More information about the llvm-commits mailing list