[all-commits] [llvm/llvm-project] 96384d: AMDGPU: Mark dead carry-out when rewriting scalar ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 23 06:38:10 PDT 2026


  Branch: refs/heads/users/arsenm/amdgpu/movetovalu-dead-carry
  Home:   https://github.com/llvm/llvm-project
  Commit: 96384d25a1c2b854c1b5bdf4f5ff39bed713a8c7
      https://github.com/llvm/llvm-project/commit/96384d25a1c2b854c1b5bdf4f5ff39bed713a8c7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/change-scc-to-vcc.mir
    A llvm/test/CodeGen/AMDGPU/move-scalar-carry-to-valu-dead-vcc.mir
    M llvm/test/CodeGen/AMDGPU/move-to-valu-addsubu64.ll
    M llvm/test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir
    M llvm/test/CodeGen/AMDGPU/si-instr-info-correct-implicit-operands.ll

  Log Message:
  -----------
  AMDGPU: Mark dead carry-out when rewriting scalar carry op to VALU

If an operation is expanded with a dead scc def, the resultant vcc def will
also be dead, so preserve the dead flag. Reduces implicit reliance on
LiveVariables recomputing dead flags later.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.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