CodeGen: Make MachineOptimizationRemarkEmitterPass a CFG analysis
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 12 May 2021 21:10:24 +0000 (17:10 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 20 Jul 2021 01:08:26 +0000 (21:08 -0400)
commitc9ec807b115d798c1ad1a002655c0c6f700ef021
treecb66c9f0ab8f16cc286c2dcbd713e795cb57c9dc
parent1d3e77e7a8421a9d2dd13e3ef499ea967ea8f85c
CodeGen: Make MachineOptimizationRemarkEmitterPass a CFG analysis

This avoids rerunning it a few times.
llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll