summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-06 16:24:21 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-06 16:24:21 +0000
commit22795de20a10835f197587b3c7c79c962657da92 (patch)
treefaea098efe1100c9c317b9e5539fc610220292c3 /lldb/packages/Python/lldbsuite/test/python_api
parentf0f29608d052810f0a2bbcee558f8d61a6973554 (diff)
downloadbcm5719-llvm-22795de20a10835f197587b3c7c79c962657da92.tar.gz
bcm5719-llvm-22795de20a10835f197587b3c7c79c962657da92.zip
[InstCombine] Add single use checks to SimplifyBSwap to ensure we are really saving instructions
Bswap isn't a simple operation so we need to make sure we are really removing a call to it before doing these simplifications. For the case when both LHS and RHS are bswaps I've allowed it to be moved if either LHS or RHS has a single use since that at least allows us to move it later where it might find another bswap to combine with and it decreases the use count on the other side so maybe the other user can be optimized. Differential Revision: https://reviews.llvm.org/D34974 llvm-svn: 307273
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud