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

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Jul 21 15:06:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 006858cd4d944ff44b3ef4619194a72ff8823edc
      https://github.com/llvm/llvm-project/commit/006858cd4d944ff44b3ef4619194a72ff8823edc
  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 (#149894)

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