[llvm] [CodeGen] Mark LIFETIME_START and LIFETIME_END as not safe to move (PR #211179)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 02:26:03 PDT 2026


================
@@ -1403,11 +1403,6 @@ bool MachineInstr::wouldBeTriviallyDead() const {
   if (isFakeUse())
     return false;
 
-  // LIFETIME markers should be preserved.
-  // FIXME: Why are LIFETIME markers not considered in MachineInstr::isPosition?
-  if (isLifetimeMarker())
----------------
arsenm wrote:

There's another of these in isDead 

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


More information about the llvm-commits mailing list