diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2014-02-17 19:20:59 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2014-02-17 19:20:59 +0000 |
| commit | 7b6f634b076a1325d03af2f4e58fe4cfb8bbb494 (patch) | |
| tree | 845cb1ca5fc1809935ae4ba1940376d248993c32 /lib/CodeGen/CodeGenPGO.cpp | |
| parent | 48e74b6ed772e6b07a38ea683eebaf9b1fca7e2e (diff) | |
| download | clang-7b6f634b076a1325d03af2f4e58fe4cfb8bbb494.tar.gz clang-7b6f634b076a1325d03af2f4e58fe4cfb8bbb494.tar.bz2 clang-7b6f634b076a1325d03af2f4e58fe4cfb8bbb494.tar.xz | |
Fix some minor whitespace issues.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenPGO.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp index 5475342ecd..f81cbecd5d 100644 --- a/lib/CodeGen/CodeGenPGO.cpp +++ b/lib/CodeGen/CodeGenPGO.cpp @@ -480,8 +480,7 @@ llvm::MDNode *CodeGenPGO::createBranchWeights(uint64_t TrueCount, return MDHelper.createBranchWeights(TrueCount + 1, FalseCount + 1); } -llvm::MDNode * -CodeGenPGO::createBranchWeights(ArrayRef<uint64_t> Weights) { +llvm::MDNode *CodeGenPGO::createBranchWeights(ArrayRef<uint64_t> Weights) { llvm::MDBuilder MDHelper(CGM.getLLVMContext()); // TODO: need to scale down to 32-bits, instead of just truncating. // According to Laplace's Rule of Succession, it is better to compute the |
