[llvm] [CodeGen] Fix stale LiveIntervals regmask tables after MachineBasicBl… (PR #209610)

Nathan Corbyn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 02:51:04 PDT 2026


================
@@ -482,6 +492,20 @@ class LiveIntervals {
   /// Compute RegMaskSlots and RegMaskBits.
   void computeRegMasks();
 
+  /// Shared implementation of insertMBBInMaps(). \p AssumeRegMaskEmpty is true
+  /// for every caller but splitAt(), which legitimately inserts a block already
+  /// populated with regmask-bearing instructions and fixes up the regmask
+  /// slices afterward via reassignRegMaskSlots(). When it is true \p MBB must
+  /// contain no regmask operands.
----------------
cofibrant wrote:

This comment wants updating

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


More information about the llvm-commits mailing list