[all-commits] [llvm/llvm-project] 9d1018: [RegAlloc] Avoid split past block-prologue interfe...

Lukas Sommer via All-commits all-commits at lists.llvm.org
Fri Jul 31 00:58:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d1018038c01d12801ccca9da5e6b5589989750a
      https://github.com/llvm/llvm-project/commit/9d1018038c01d12801ccca9da5e6b5589989750a
  Author: Lukas Sommer <lukas.sommer at amd.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    A llvm/test/CodeGen/AMDGPU/greedy-wwm-copy-prologue-assert.mir

  Log Message:
  -----------
  [RegAlloc] Avoid split past block-prologue interference (#209704)

`leaveIntvAtTop` skips the target-specific block prologue when
determining the insertion point.

If the block prologue itself contains an instruction that interferes
with the interval, we must leave the interval before the block,
otherwise we will hit an assertion in `splitLiveThroughBlock`.

---------

Signed-off-by: Lukas Sommer <lukas.sommer at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list