]> granicus.if.org Git - llvm/commit
[AMDGPU] Fix recorded region boundaries in max-occupancy scheduler
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 28 Mar 2017 21:48:54 +0000 (21:48 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 28 Mar 2017 21:48:54 +0000 (21:48 +0000)
commit7a9c51436fa73490adde88660bb31f1205cffd42
treef3a894391bb4062d9d12e91f13080395a657f8ed
parentf54b836e267affd519f64e6908cf2c996c01c247
[AMDGPU] Fix recorded region boundaries in max-occupancy scheduler

This is incorrect to record region boundaries before scheduling,
it may change after scheduling. As a result second pass may see less
instructions to schedule than it should.

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

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