[PATCH] D127664: [AMDGPU] gfx11 ldsdir intrinsics and ISel

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 11:35:26 PDT 2022


Joe_Nash added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/LDSDIRInstructions.td:96
+  (f32 (int_amdgcn_lds_direct_load M0)),
+  (LDS_DIRECT_LOAD 0)
+>;
----------------
rampitec wrote:
> How does that work? It seems to ignore M0 argument.
Because LDS_DIRECT_LOAD has an implicit use of M0. In llvm.amdgcn.lds.direct.load.ll it seems to work as it should given that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127664



More information about the llvm-commits mailing list