diff options
author | Michael Kuperstein <mkuper@google.com> | 2016-12-03 01:59:13 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2016-12-03 01:59:13 +0000 |
commit | 997dac8709737c9c8ab94fd7f799207dcfabf885 (patch) | |
tree | 0542cbb617b3e20dfead4fb8b81fb949edffb2a3 /llvm/lib/Transforms/Utils | |
parent | 63322af69896c498d97856b371322305c5f40673 (diff) | |
download | bcm5719-llvm-997dac8709737c9c8ab94fd7f799207dcfabf885.tar.gz bcm5719-llvm-997dac8709737c9c8ab94fd7f799207dcfabf885.zip |
Remove stale comment. NFC.
llvm-svn: 288572
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUtils.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index fd35cd05c62..09e9f1ddc7f 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -1086,9 +1086,6 @@ Optional<unsigned> llvm::getLoopEstimatedTripCount(Loop *L) { // To estimate the number of times the loop body was executed, we want to // know the number of times the backedge was taken, vs. the number of times // we exited the loop. - // The branch weights give us almost what we want, since they were adjusted - // from the raw counts to provide a better probability estimate. Remove - // the adjustment by subtracting 1 from both weights. uint64_t TrueVal, FalseVal; if (!LatchBR->extractProfMetadata(TrueVal, FalseVal)) return None; |