summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-11-02 21:21:02 +0000
committerAnna Thomas <anna@azul.com>2017-11-02 21:21:02 +0000
commit1d02b13eb7758844adb9f1cec0828376f10d365a (patch)
tree7e19cb65e736eea40c8df241efc14dfa359e8ab9 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parenta957ffbce3920d7c07eb1c73ee616c4e96d57be0 (diff)
downloadbcm5719-llvm-1d02b13eb7758844adb9f1cec0828376f10d365a.tar.gz
bcm5719-llvm-1d02b13eb7758844adb9f1cec0828376f10d365a.zip
[LoopPredication] Enable predication when latchCheckIV is wider than rangeCheck
Summary: This patch allows us to predicate range checks that have a type narrower than the latch check type. We leverage SCEV analysis to identify a truncate for the latchLimit and latchStart. There is also safety checks in place which requires the start and limit to be known at compile time. We require this to make sure that the SCEV truncate expr for the IV corresponding to the latch does not cause us to lose information about the IV range. Added tests show the loop predication over range checks that are of various types and are narrower than the latch type. This enhancement has been in our downstream tree for a while. Reviewers: apilipenko, sanjoy, mkazantsev Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39500 llvm-svn: 317269
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud