[PATCH] D64259: AMDGPU: Make AMDGPUPerfHintAnalysis an SCC pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 5 11:25:31 PDT 2019


arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

Add a string attribute instead of directly setting
MachineFunctionInfo. This avoids trying to get the analysis in the
MachineFunctionInfo in a way that doesn't work with the new pass
manager.

      

This will also avoid re-visiting the call graph for every single
function.


https://reviews.llvm.org/D64259

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
  lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64259.208215.patch
Type: text/x-patch
Size: 7753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190705/8afabe7f/attachment.bin>


More information about the llvm-commits mailing list