[PATCH] D63851: [AMDGPU] Packed thread ids in function call ABI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 16:49:27 PDT 2019


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:1643
                                       SIMachineFunctionInfo &Info) {
-  if (Info.hasWorkItemIDX())
-    Info.setWorkItemIDX(allocateVGPR32Input(CCInfo));
+  const unsigned Mask = 0x3ff;
+  ArgDescriptor Arg;
----------------
This should be derived from the subtarget maximum workgroup size


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

https://reviews.llvm.org/D63851





More information about the llvm-commits mailing list