[PATCH] D147334: [AMDGPU] Don't select _SGPR forms of SMEM instructions on GFX9+

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 01:38:58 PDT 2023


foad added a comment.

In D147334#4240544 <https://reviews.llvm.org/D147334#4240544>, @arsenm wrote:

> You're suggesting there still is a case pre-gfx9 where we need different instructions? I thought the immediate field was always just available

Pre-GFX9 the "offset" field was either an immediate or an SGPR number. You couldn't have both.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147334/new/

https://reviews.llvm.org/D147334



More information about the llvm-commits mailing list