aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-04-28 19:17:44 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-04-28 19:17:44 +0000
commit7ea9a529aa1d5925eda9813a92800258f80848b7 (patch)
treef945c4c3825dd47f37afcd0db9cc877226bf8a1e /clang/lib/Basic/SourceManager.cpp
parent2b6fb803840d20ee7e93fd947b4990a983ed3652 (diff)
downloadllvm-7ea9a529aa1d5925eda9813a92800258f80848b7.zip
llvm-7ea9a529aa1d5925eda9813a92800258f80848b7.tar.gz
llvm-7ea9a529aa1d5925eda9813a92800258f80848b7.tar.bz2
Reset the TopRPTracker's position in ScheduleDAGMILive::initQueues
ScheduleDAGMI::initQueues changes the RegionBegin to the first non-debug instruction. Since it does not track register pressure, it does not affect any RP trackers. ScheduleDAGMILive inherits initQueues from ScheduleDAGMI, and it does reset the TopTPTracker in its schedule method. Any derived, target-specific scheduler will need to do it as well, but the TopRPTracker is only exposed as a "const" object to derived classes. Without the ability to modify the tracker directly, this leaves a derived scheduler with a potential of having the TopRPTracker out-of-sync with the CurrentTop. The symptom of the problem: void llvm::ScheduleDAGMILive::scheduleMI(llvm::SUnit *, bool): Assertion `TopRPTracker.getPos() == CurrentTop && "out of sync"' failed. Differential Revision: http://reviews.llvm.org/D19438 llvm-svn: 267918
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions