aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2015-05-17 23:40:27 +0000
committerAndrew Trick <atrick@apple.com>2015-05-17 23:40:27 +0000
commite02d5da8a78aef7b1e9574d0c6cfef7490d9ca44 (patch)
tree5f6666553ac7538bbc27029ce83c23727860446d /llvm/lib/CodeGen/MachineScheduler.cpp
parenta0c955251fa05e7e584a987f2d9fe7b67fa6edef (diff)
downloadllvm-e02d5da8a78aef7b1e9574d0c6cfef7490d9ca44.zip
llvm-e02d5da8a78aef7b1e9574d0c6cfef7490d9ca44.tar.gz
llvm-e02d5da8a78aef7b1e9574d0c6cfef7490d9ca44.tar.bz2
RegisterPressureTracker: reword stale comments.
llvm-svn: 237544
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index a52d05f..9adf162 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -2611,8 +2611,7 @@ void GenericScheduler::tryCandidate(SchedCandidate &Cand,
TryCand, Cand, PhysRegCopy))
return;
- // Avoid exceeding the target's limit. If signed PSetID is negative, it is
- // invalid; convert it to INT_MAX to give it lowest priority.
+ // Avoid exceeding the target's limit.
if (DAG->isTrackingPressure() && tryPressure(TryCand.RPDelta.Excess,
Cand.RPDelta.Excess,
TryCand, Cand, RegExcess))