summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-03-21 18:56:58 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-03-21 18:56:58 +0000
commit92339e888f160d837baa2b2feac132e9536c2c48 (patch)
treee72c6da38626de7a21035841beac30f8169106d6 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent2bf5ed567027ae874dc5858e5dadeb3f32d637c5 (diff)
downloadbcm5719-llvm-92339e888f160d837baa2b2feac132e9536c2c48.tar.gz
bcm5719-llvm-92339e888f160d837baa2b2feac132e9536c2c48.zip
AMDGPU/SI: Fix threshold calculation for branching when exec is zero
Summary: When control flow is implemented using the exec mask, the compiler will insert branch instructions to skip over the masked section when exec is zero if the section contains more than a certain number of instructions. The previous code would only count instructions in successor blocks, and this patch modifies the code to start counting instructions in all blocks between the start and end of the branch. Reviewers: nhaehnle, arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18282 llvm-svn: 263969
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud