[llvm-commits] [llvm] r135948 - /llvm/trunk/include/llvm/Support/BranchProbability.h
Jakub Staszak
jstaszak at apple.com
Mon Jul 25 13:08:58 PDT 2011
Author: kuba
Date: Mon Jul 25 15:08:58 2011
New Revision: 135948
URL: http://llvm.org/viewvc/llvm-project?rev=135948&view=rev
Log:
Fix class description.
Modified:
llvm/trunk/include/llvm/Support/BranchProbability.h
Modified: llvm/trunk/include/llvm/Support/BranchProbability.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BranchProbability.h?rev=135948&r1=135947&r2=135948&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BranchProbability.h (original)
+++ llvm/trunk/include/llvm/Support/BranchProbability.h Mon Jul 25 15:08:58 2011
@@ -1,4 +1,4 @@
-//===- BranchProbability.h - Branch Probability Analysis --------*- C++ -*-===//
+//===- BranchProbability.h - Branch Probability Wrapper ---------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -34,7 +34,7 @@
uint32_t getNumerator() const { return N; }
uint32_t getDenominator() const { return D; }
-
+
// Return (1 - Probability).
BranchProbability getCompl() {
return BranchProbability(D - N, D);
More information about the llvm-commits
mailing list