We currently have the 'amdgpu-num-vgpr' attribute parsed during the TargetRegisterInfo initialization.
GCNSchedStage class method computing occupancy does not read the attribute and consider all the available registers for the given target even if the number of VGPRs was explicitly restricted.
clang-format not found in user’s local PATH; not linting file.