AMDGPU: Add occupancy to serialized MachineFunctionInfo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jan 2021 21:07:37 +0000 (16:07 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 21 Jan 2021 14:21:00 +0000 (09:21 -0500)
commit20566a2ed825c05d56708552d33d95ee12255f46
tree96a6e47db82452b3a9b80c4ba431c918517cf66e
parent37510f69b4cb8d76064f108d57bebe95984a23ae
AMDGPU: Add occupancy to serialized MachineFunctionInfo

Not sure about the default value handling, but also not sure
defaulting to a theoretically subtarget dependent value.
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll