aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2021-11-21 20:07:51 +0000
committerSander de Smalen <sander.desmalen@arm.com>2021-11-28 09:49:28 +0000
commit28a4deab921d2d9a1e27d520fc3f745eb8d9aa02 (patch)
tree00a2e166b96b86b7ab329fc5051789fb300ef5c9 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parenta9f837bbf0ecb12fd309a1c5ba59661fc1447327 (diff)
downloadllvm-28a4deab921d2d9a1e27d520fc3f745eb8d9aa02.zip
llvm-28a4deab921d2d9a1e27d520fc3f745eb8d9aa02.tar.gz
llvm-28a4deab921d2d9a1e27d520fc3f745eb8d9aa02.tar.bz2
[LV] Fix incorrectly marking a pointer indvar as 'scalar'.
collectLoopScalars should only add non-uniform nodes to the list if they are used by a load/store instruction that is marked as CM_Scalarize. Before this patch, the LV incorrectly marked pointer induction variables as 'scalar' when they required to be widened by something else, such as a compare instruction, and weren't used by a node marked as 'CM_Scalarize'. This case is covered by sve-widen-phi.ll. This change also allows removing some code where the LV tried to widen the PHI nodes with a stepvector, even though it was marked as 'scalarAfterVectorization'. Now that this code is more careful about marking instructions that need widening as 'scalar', this code has become redundant. Differential Revision: https://reviews.llvm.org/D114373
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions