[all-commits] [llvm/llvm-project] f707e1: [AMDGPU] Select d16 stores even when sramecc is en...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Apr 19 01:35:29 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f707e1255e2f0a46c7a23271f594a9a4e5ec8f08
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/test/CodeGen/AMDGPU/store-hi16.ll

  Log Message:
  [AMDGPU] Select d16 stores even when sramecc is enabled

The sramecc feature changes the behaviour of d16 loads so they do not
preserve the unused 16 bits of the result register, but it has no impact
on d16 stores, so we should make use of them even when the feature is

Differential Revision: https://reviews.llvm.org/D104912

More information about the All-commits mailing list