diff options
author | Sam Parker <sam.parker@arm.com> | 2019-07-23 14:08:46 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-07-23 14:08:46 +0000 |
commit | 57e87dd81beb8df988bfa8e3369a2c7a888da093 (patch) | |
tree | 8facbd02bd1d3e05d92ffe9479703223dc92e3e9 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | c60c12fb10d49fbd7fbdc8e8ddc3134e16e0d1e7 (diff) | |
download | bcm5719-llvm-57e87dd81beb8df988bfa8e3369a2c7a888da093.tar.gz bcm5719-llvm-57e87dd81beb8df988bfa8e3369a2c7a888da093.zip |
[ARM][LowOverheadLoops] Fix branch target codegen
While lowering test.set.loop.iterations, it wasn't checked how the
brcond was using the result and so the wls could branch to the loop
preheader instead of not entering it. The same was true for
loop.decrement.reg.
So brcond and br_cc and now lowered manually when using the hwloop
intrinsics. During this we now check whether the result has been
negated and whether we're using SETEQ or SETNE and 0 or 1. We can
then figure out which basic block the WLS and LE should be targeting.
Differential Revision: https://reviews.llvm.org/D64616
llvm-svn: 366809
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions