]> granicus.if.org Git - llvm/commit
[AMDGPU] Turn register pressure estimation into forward tracker
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 16 May 2017 15:43:52 +0000 (15:43 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 16 May 2017 15:43:52 +0000 (15:43 +0000)
commite61df31e20731d9709d5ed6d9b274f7b34a9ba9d
treecc9dbc941e2338ab8bb8d12b11cb9852530d47e6
parentcce9257402113b45afa01ee12a3625f32e77ee29
[AMDGPU] Turn register pressure estimation into forward tracker

This factors register pressure estimation mechanism from the
GCNSchedStrategy into the forward tracker to unify interface
with other strategies and expose it to other interested phases.

Differential Revision: https://reviews.llvm.org/D33105

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303179 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/GCNRegPressure.cpp
lib/Target/AMDGPU/GCNRegPressure.h
lib/Target/AMDGPU/GCNSchedStrategy.cpp
lib/Target/AMDGPU/GCNSchedStrategy.h