[all-commits] [llvm/llvm-project] 1e697f: [AMDGPU] Prevent folding of FI with scale_offset o...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Jul 21 13:17:48 PDT 2025


  Branch: refs/heads/users/rampitec/07-21-_amdgpu_prevent_folding_of_fi_with_scale_offset_on_gfx1250
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e697f4afd743758c6b50a75de08878208c4b842
      https://github.com/llvm/llvm-project/commit/1e697f4afd743758c6b50a75de08878208c4b842
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    A llvm/test/CodeGen/AMDGPU/flat-scratch-fold-fi-gfx1250.mir

  Log Message:
  -----------
  [AMDGPU] Prevent folding of FI with scale_offset on gfx1250

SS forms of SCRATCH_LOAD_DWORD do not support SCALE_OFFSET,
so if this bit is used SCRATCH_LOAD_DWORD_SADDR cannot be formed.
This generally shall not happen because FI is not supposed to
be scaled, but add this as a precaution.



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