summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-13 23:27:23 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-13 23:27:23 +0000
commita139564896f2d0d4dc4dc491c4b17c9f01975a26 (patch)
tree2a2f2ba388d4044d1e62ab0c1f77bcd238b09e5c /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
parente0c00718ec2312ce55c79340a2c986a99e279cf9 (diff)
downloadbcm5719-llvm-a139564896f2d0d4dc4dc491c4b17c9f01975a26.tar.gz
bcm5719-llvm-a139564896f2d0d4dc4dc491c4b17c9f01975a26.zip
[InstCombine] fold funnel shift amount based on demanded bits
The shift amount of a funnel shift is modulo the scalar bitwidth: http://llvm.org/docs/LangRef.html#llvm-fshl-intrinsic ...so we can use demanded bits analysis on that operand to simplify it when we have a power-of-2 bitwidth. This is another step towards canonicalizing {shift/shift/or} to the intrinsics in IR. Differential Revision: https://reviews.llvm.org/D54478 llvm-svn: 346814
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud