summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-02-14 11:09:24 +0000
committerDavid Green <david.green@arm.com>2019-02-14 11:09:24 +0000
commit743abf2bd920640dbb4cc7b900fe5d4fa25caafa (patch)
tree709e4753a70ca82ed02f971cceb6f2fcc8ae0ae7 /lldb/packages/Python/lldbsuite/test/python_api/thread
parentd27cf27eb1fe49a244260e53df8e93a1dc10f7c8 (diff)
downloadbcm5719-llvm-743abf2bd920640dbb4cc7b900fe5d4fa25caafa.tar.gz
bcm5719-llvm-743abf2bd920640dbb4cc7b900fe5d4fa25caafa.zip
[ARM] Ensure we update the correct flags in the peephole optimiser
The Arm peephole optimiser code keeps track of both an MI and a SubAdd that can be used to optimise away a CMP. In the rare case that both are found and not ruled-out as valid, we could end up setting the flags on the wrong one. Instead make sure we are using SubAdd if it exists, as it will be closer to the CMP. The testcase here is a little theoretical, with a dead def of cpsr. It should hopefully show the point. Differential Revision: https://reviews.llvm.org/D58176 llvm-svn: 354018
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud