diff options
| author | Florian Hahn <flo@fhahn.com> | 2021-05-25 13:54:55 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2021-05-25 13:58:42 +0100 |
| commit | 575e2aff5574550d10278d9a41fca2926a5b8409 (patch) | |
| tree | c0164be2f512947d413eb11225007b292e6b8d8f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9b99336d5daf9425f12c747fd746118457a80ed8 (diff) | |
[VectorCombine] Use constant range info for index scalarization legality.
We can only scalarize memory accesses if we know the index is valid.
This patch adjusts canScalarizeAcceess to fall back to
computeConstantRange to check if the index is known to be valid.
Reviewed By: nlopes
Differential Revision: https://reviews.llvm.org/D102476
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
