diff options
author | Jean Perier <jperier@nvidia.com> | 2021-11-12 09:25:22 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2021-11-12 09:26:08 +0100 |
commit | 6544d9a4a098c24ebafe2856259f927af8f211ec (patch) | |
tree | c99b680e73797b528834c324f056609d211585a9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 64d44208246b76772b2b04980234bd75d546a4b4 (diff) | |
download | llvm-6544d9a4a098c24ebafe2856259f927af8f211ec.zip llvm-6544d9a4a098c24ebafe2856259f927af8f211ec.tar.gz llvm-6544d9a4a098c24ebafe2856259f927af8f211ec.tar.bz2 |
[flang] Fix vector cshift runtime with non zero lower bounds
The source index should not be compared to zero after applying the
shift with the modulo, it must be compared to the lower bound.
Otherwise, the extent is not added in case it should and the computed
source index may be less than the lower bound, causing invalid results.
Differential Revision: https://reviews.llvm.org/D113659
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions