[all-commits] [llvm/llvm-project] a1edb1: [AMDGPU] Fix broken uses of isLegalFLATOffset and ...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Tue Jul 8 02:18:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1edb1dbc621d60787791e213862655e11bd37ef
      https://github.com/llvm/llvm-project/commit/a1edb1dbc621d60787791e213862655e11bd37ef
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  [AMDGPU] Fix broken uses of isLegalFLATOffset and splitFlatOffset (#147469)

The last parameter of these functions used to be `Signed`, and it looks
like a few calls weren't updated when that was changed to `FlatVariant`.
Effectively, the functions were called with `FlatVariant=SALU` due to
integer promotions, which doesn't make any sense.



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