[PATCH] D144033: [AMDGPU][MC][GFX11] Add partial NSA format for image sample instructions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 07:11:58 PST 2023


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp:1948
+  const GCNSubtarget &ST = static_cast<const GCNSubtarget &>(STI);
+  return ST.getNSAMaxSize();
+}
----------------
I'm not sure if it's allowed to call into GCNSubtarget from this code - does anyone else know?


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

https://reviews.llvm.org/D144033



More information about the llvm-commits mailing list