[PATCH] D65423: [AMDGPU] Fix high occupancy calculation and print it

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 15:51:35 PDT 2019


rampitec created this revision.
rampitec added reviewers: arsenm, nhaehnle, b-sumner, AlexVlx.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.

We had couple places which still return 10 as a maximum
occupancy. Fixed.

Also print comment about occupancy as compiler see it.


https://reviews.llvm.org/D65423

Files:
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  lib/Target/AMDGPU/SIProgramInfo.h
  test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
  test/CodeGen/AMDGPU/nsa-reassign.ll
  test/CodeGen/AMDGPU/occupancy-levels.ll
  test/CodeGen/AMDGPU/wave32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65423.212242.patch
Type: text/x-patch
Size: 15454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190729/506eebcc/attachment-0001.bin>


More information about the llvm-commits mailing list