[PATCH] D84779: [AMDGPU] Add amdgpu specific loop threshold metadata

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 08:03:26 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp:123
+  if (MDNode *LoopUnrollThreshold =
+          findOptionMDForLoop(L, "llvm.loop.unroll.threshold")) {
+    if (LoopUnrollThreshold->getNumOperands() == 2) {
----------------
Should the name re-gain the amdgpu part?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84779



More information about the llvm-commits mailing list