summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2021-03-01 09:01:06 +0000
committerDavid Sherwood <david.sherwood@arm.com>2021-03-23 11:29:05 +0000
commitd70251163f718200888b1b3dd6f95e03f8213995 (patch)
tree84b7d2e326931b279187261ddf2d940efc7d49ca /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parentf368b3a029887eb09fe9c2b537b76bf6f4274ae4 (diff)
[LoopVectorize][NFC] Refactor code to use IRBuilder::CreateStepVector
In places where we create a ConstantVector whose elements are a linear sequence of the form <start, start + 1, start + 2, ...> I've changed the code to make use of CreateStepVector, which creates a vector with the sequence <0, 1, 2, ...>, and a vector addition operation. This patch is a non-functional change, since the output from the vectoriser remains unchanged for fixed length vectors and there are existing asserts that still fire when attempting to use scalable vectors for vectorising induction variables. In a later patch we will enable support for scalable vectors in InnerLoopVectorizer::getStepVector(), which relies upon the new stepvector intrinsic in IRBuilder::CreateStepVector. Differential Revision: https://reviews.llvm.org/D97861
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions