[AMDGPU] fixed underflow in getOccupancyWithNumVGPRs
The function could return zero if an extreme number or registers were used. Minimal possible occupancy is 1. Differential Revision: https://reviews.llvm.org/D67771 llvm-svn: 372350
Loading
Please sign in to comment