Fix typo from r170452. Affects -enable-misched heuristics.

llvm-svn: 172223
This commit is contained in:
Andrew Trick 2013-01-11 17:46:50 +00:00
parent 143f5f2091
commit ae182ce4fc
1 changed files with 2 additions and 2 deletions

View File

@ -1533,8 +1533,8 @@ void ConvergingScheduler::checkResourceLimits(
ConvergingScheduler::SchedCandidate &BotCand) {
// Set ReduceLatency to true if needed.
Bot.setLatencyPolicy(TopCand.Policy);
Top.setLatencyPolicy(BotCand.Policy);
Bot.setLatencyPolicy(BopCand.Policy);
Top.setLatencyPolicy(TotCand.Policy);
// Handle resource-limited regions.
if (Top.IsResourceLimited && Bot.IsResourceLimited