aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-09-19 16:33:41 +0000
committerDehao Chen <dehao@google.com>2016-09-19 16:33:41 +0000
commit82667d04c51434adb089b7676bd6e34ab80d9e65 (patch)
tree65f8b6dc14012938adb82b11fbb8956ef3a60338 /lldb/source/Commands/CommandObjectThread.cpp
parent38e3731c470b569f8c61d7d919c726f48fca6521 (diff)
downloadllvm-82667d04c51434adb089b7676bd6e34ab80d9e65.zip
llvm-82667d04c51434adb089b7676bd6e34ab80d9e65.tar.gz
llvm-82667d04c51434adb089b7676bd6e34ab80d9e65.tar.bz2
Only set branch weight during sample pgo annotation when max_weight of the branch is non-zero. Otherwise use default static profile to set branch probability.
Summary: It does not make sense to set equal weights for all unkown branches as we have static branch prediction available. Reviewers: dnovillo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24732 llvm-svn: 281912
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions