aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 22:27:31 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 22:27:31 +0000
commitbc55bfde033d67329f9d5dd3ec5e1fbf665297ad (patch)
tree1820b0e5d27ab6c4fb288bbbc53bdba9f1ea58be /lldb/source/Commands/CommandObjectProcess.cpp
parenta0042acd3be06dcc3267b61b9a4f6311299b39ca (diff)
downloadllvm-bc55bfde033d67329f9d5dd3ec5e1fbf665297ad.zip
llvm-bc55bfde033d67329f9d5dd3ec5e1fbf665297ad.tar.gz
llvm-bc55bfde033d67329f9d5dd3ec5e1fbf665297ad.tar.bz2
Add a proper if-conversion cost model.
Detect when there is not enough available ILP, so if-conversion can't speculate instructions for free. Compute the lengthening of the critical path when inserting a select instruction that depends on the condition as well as both sides of the if. Reject conversions that would stretch the critical path by more than half a mispredict penalty. llvm-svn: 161713
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions