summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-31 18:52:13 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-31 18:52:13 +0000
commit8324003818518c45526280e5acc5772dfb9d5354 (patch)
treea08eae2d45cf0198502520e893575ce4cba1ffdf /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
parent1b4e9ae3840143927b298ec38175e9fb994d18da (diff)
downloadbcm5719-llvm-8324003818518c45526280e5acc5772dfb9d5354.tar.gz
bcm5719-llvm-8324003818518c45526280e5acc5772dfb9d5354.zip
[X86][InstCombine] Add basic simplification support for BEXTR/BEXTRI intrinsics.
This patch adds simplification support for the BEXTR/BEXTRI intrinsics to match gcc. This only supports cases that fold to 0 or can be fully constant folded. Theoretically we could support converting to AND if the shift part is unused or to only a shift if the mask doesn't modify any bits after an equivalent shl. gcc doesn't do these transformations either. I put this in InstCombine, but it could be done in InstSimplify. It would be the first target specific intrinsic in InstSimplify. Differential Revision: https://reviews.llvm.org/D36063 llvm-svn: 309603
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud