]> granicus.if.org Git - llvm/commit
[AMDGPU] Add second pass of the scheduler
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 28 Feb 2017 19:20:33 +0000 (19:20 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 28 Feb 2017 19:20:33 +0000 (19:20 +0000)
commit0248798c22988b462acbbe9ca6cd96fa2a3cf58b
tree1464276834c654a2d0d72537922e4fd721cde04e
parent0e267e802ac45906a0f6f1b2f09e73745e993bd6
[AMDGPU] Add second pass of the scheduler

If during scheduling we have identified that we cannot keep optimistic
occupancy increase critical register pressure limit and try scheduling
of the whole function again. In this case blocks with smaller pressure
will have a chance for better scheduling.

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

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