[all-commits] [llvm/llvm-project] adac04: [AMDGPU] Fix using wrong register in frame index s...

Pankaj Dwivedi via All-commits all-commits at lists.llvm.org
Fri Aug 2 04:47:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: adac04ffc90adebbaa0661d642f482dab8440df5
      https://github.com/llvm/llvm-project/commit/adac04ffc90adebbaa0661d642f482dab8440df5
  Author: Pankaj Dwivedi <divedi.pk.117 at gmail.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
    M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll

  Log Message:
  -----------
  [AMDGPU] Fix using wrong register in frame index shift (#101649)

In case of v_mad we have materialized the offset in vgpr and mad is
performed in wave space, later vgpr have to be shifted back in lane
space. [#99556](https://github.com/llvm/llvm-project/pull/99556)
introduces a bug.

Co-authored-by: Pankajdwivedi-25 <pankajkumar.divedi at amd.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