summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-02-14 18:39:14 +0000
committerPhilip Reames <listmail@philipreames.com>2019-02-14 18:39:14 +0000
commit97067d3c7321ff8a3dcb0b0f41ae06b1602787c3 (patch)
tree0ca1d8472bb98311ca55b347a42716dc145bb8f6 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parentcb914cf683108414ea2b62e68d9e9b10879c2a03 (diff)
downloadbcm5719-llvm-97067d3c7321ff8a3dcb0b0f41ae06b1602787c3.tar.gz
bcm5719-llvm-97067d3c7321ff8a3dcb0b0f41ae06b1602787c3.zip
Teach instcombine about remaining "idempotent" atomicrmw types
Expand on Quentin's r353471 patch which converts some atomicrmws into loads. Handle remaining operation types, and fix a slight bug. Atomic loads are required to have alignment. Since this was within the InstCombine fixed point, somewhere else in InstCombine was adding alignment before the verifier saw it, but still, we should fix. Terminology wise, I'm using the "idempotent" naming that is used for the same operations in AtomicExpand and X86ISelLoweringInfo. Once this lands, I'll add similar tests for AtomicExpand, and move the pattern match function to a common location. In the review, there was seemingly consensus that "idempotent" was slightly incorrect for this context. Once we setle on a better name, I'll update all uses at once. Differential Revision: https://reviews.llvm.org/D58242 llvm-svn: 354046
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud