summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2021-10-15 12:54:58 +0100
committerDavid Sherwood <david.sherwood@arm.com>2021-10-27 16:12:38 +0100
commit5d9318638e892143c7788191ca1d89445582880b (patch)
tree8f3fb038d83fb74c1e16286b722b50fac72c7ede /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentf3190dedeef9da2109ea57e4cb372f295ff53b88 (diff)
[NFC][LoopVectorize] Change getStepVector to take a Value* for the StartIdx
This patch changes the definition of getStepVector from: Value *getStepVector(Value *Val, int StartIdx, Value *Step, ... to Value *getStepVector(Value *Val, Value *StartIdx, Value *Step, ... because: 1. it seems inconsistent to pass some values as Value* and some as integer, and 2. future work will require the StartIdx to be an expression made up of runtime calculations of the VF. In widenIntOrFpInduction I've changed the code to pass in the value returned from getRuntimeVF, but the presence of the assert: assert(!VF.isScalable() && "scalable vectors not yet supported."); means that currently this code path is only exercised for fixed-width VFs and so the patch is still NFC. Differential revision: https://reviews.llvm.org/D111882
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions