]> granicus.if.org Git - llvm/commit
[AMDGPU] Fix incorrect register pressure calculation
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 11 May 2017 17:16:55 +0000 (17:16 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 11 May 2017 17:16:55 +0000 (17:16 +0000)
commit87fd46af9024ab56a9679ce32aed0965bab69d56
treeea83622a21d0b8a8430832d19f9f9df785cfd922
parent65ad27f81e72a413081039ab4b591e173206c274
[AMDGPU] Fix incorrect register pressure calculation

Earlier fix D32572 introduced a bug where live-ins were calculated
for basic block instead of scheduling region. This change fixes it.

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

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