aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorPaul Osmialowski <pawel.osmialowski@arm.com>2023-04-25 21:44:35 +0100
committerPaul Osmialowski <pawel.osmialowski@arm.com>2023-04-25 21:47:14 +0100
commit9cf1881f8f12a70c28432278a2878a6113c017c1 (patch)
tree362c81e112551b51452030e1d91e4f3743225c62 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentfd527ceff1c7bcaa2c9b5c27a52164cdd16a4ebe (diff)
downloadllvm-9cf1881f8f12a70c28432278a2878a6113c017c1.zip
llvm-9cf1881f8f12a70c28432278a2878a6113c017c1.tar.gz
llvm-9cf1881f8f12a70c28432278a2878a6113c017c1.tar.bz2
[SCEV] Do not plant SCEV checks unnecessarily
The vectorisation analysis collects strides for loop invariant pointers, which is wrong because they are not strided. We don't need to generate SCEV checks (which are costly performancewise) for such pointers, we just need to do the appropriate aliasing checks. This patch fixes the problem by changing getStrideFromPointer() to treat loop invariant pointers as having no stride. Originally proposed by David Sherwood with further suggestions from Florian Hahn. Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D146958
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions