[PATCH] D139931: (WIP) [AMDGPU] Add `.workgroup_processor_mode` to v5 MD

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 06:40:01 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp:881
+  if (AMDGPU::getAmdhsaCodeObjectVersion() >= 5 &&
+      STM.getGeneration() >= GCNSubtarget::GFX10)
+    Kern[".workgroup_processor_mode"] =
----------------
Can you hide this generation check in a supportsWGP predicate in the subtarget


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139931



More information about the llvm-commits mailing list