aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorKerry McLaughlin <kerry.mclaughlin@arm.com>2022-01-24 10:41:51 +0000
committerKerry McLaughlin <kerry.mclaughlin@arm.com>2022-01-24 12:03:31 +0000
commit8082ab2fc391cb88ab142d3ce8f63e6eb8641a23 (patch)
tree679b75902221cae0a1142fc6f79592ce11f6b1e8 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parente4074432d5bf5c295f96eeed27c5b693f5b3bf16 (diff)
downloadllvm-8082ab2fc391cb88ab142d3ce8f63e6eb8641a23.zip
llvm-8082ab2fc391cb88ab142d3ce8f63e6eb8641a23.tar.gz
llvm-8082ab2fc391cb88ab142d3ce8f63e6eb8641a23.tar.bz2
[LoopVectorize] Support epilogue vectorisation of loops with reductions
isCandidateForEpilogueVectorization will currently return false for loops which contain reductions. This patch removes this restriction and makes the following changes to support epilogue vectorisation with reductions: - `fixReduction`: If fixReduction is being called during vectorisation of the epilogue, the phi node it creates will need to additionally carry incoming values from the middle block of the main loop. - `createEpilogueVectorizedLoopSkeleton`: The incoming values of the phi created by fixReduction are updated after the vec.epilog.iter.check block is added. The phi is also moved to the preheader of the epilogue. - `processLoop`: The start value of any VPReductionPHIRecipes are updated before vectorising the epilogue loop. The getResumeInstr function added to the ILV will return the resume instruction associated with the recurrence descriptor. Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D116928
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions