[all-commits] [llvm/llvm-project] 3476cb: AMDGPU: Mark the carry-out of the scalar abs expan...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Sep 24 00:21:43 PDT 2026


  Branch: refs/heads/users/arsenm/amdgpu/carry-out-scalar-abs-expansion-dead
  Home:   https://github.com/llvm/llvm-project
  Commit: 3476cb8135196f9ad584dc3a0370095e4d212fc7
      https://github.com/llvm/llvm-project/commit/3476cb8135196f9ad584dc3a0370095e4d212fc7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/move-to-valu-absdiff.mir

  Log Message:
  -----------
  AMDGPU: Mark the carry-out of the scalar abs expansion dead

lowerScalarAbs and lowerScalarAbsDiff build V_SUB_CO_U32_e32 on targets
without the carry-less add/sub instructions. The carry-out is never read,
but it was left without a dead flag. Fix the missing flag to reduce
implicit dependence on LiveVariables introducing dead flags.

Co-Authored-By: Claude Opus 5 <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