aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-01-11 17:46:50 +0000
committerAndrew Trick <atrick@apple.com>2013-01-11 17:46:50 +0000
commite9ccacd376b2a271434e739f0b7d468cc691723b (patch)
tree15d3bdd5fb9c92b0aebbda5a67319f82bd28f9c8 /lib/CodeGen
parent74c1be27a42c2f83e5be23062ea1e6f9ebf18d20 (diff)
downloadexternal_llvm-e9ccacd376b2a271434e739f0b7d468cc691723b.zip
external_llvm-e9ccacd376b2a271434e739f0b7d468cc691723b.tar.gz
external_llvm-e9ccacd376b2a271434e739f0b7d468cc691723b.tar.bz2
Fix typo from r170452. Affects -enable-misched heuristics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/MachineScheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp
index a32df78..b965c7f 100644
--- a/lib/CodeGen/MachineScheduler.cpp
+++ b/lib/CodeGen/MachineScheduler.cpp
@@ -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