[PATCH] D47509: [AMDGPU] Track occupancy in MFI
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 30 00:26:13 PDT 2018
arsenm added a comment.
The problem with this is until we can serialize MachineFunctionInfo, this is going fo further degrade MIR tests.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:4258-4262
+ SDValue Res = AMDGPUTargetLowering::LowerGlobalAddress(MFI, Op, DAG);
+ MachineFunction &MF = DAG.getMachineFunction();
+ SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
+ MFI->limitOccupancy(MF);
+ return Res;
----------------
Why is this here?
https://reviews.llvm.org/D47509
More information about the llvm-commits
mailing list