aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-02-22 11:50:27 +0800
committerGitHub <noreply@github.com>2024-02-22 11:50:27 +0800
commit815644b4dd882ade2e5649d4f97c3dd6f7aea200 (patch)
treed88fea78ee7c40b156ae63135d2462d7983e66e4 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent05af9c83f3a0d154f73d619ac1361eae05531e5e (diff)
downloadllvm-815644b4dd882ade2e5649d4f97c3dd6f7aea200.zip
llvm-815644b4dd882ade2e5649d4f97c3dd6f7aea200.tar.gz
llvm-815644b4dd882ade2e5649d4f97c3dd6f7aea200.tar.bz2
[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (#82506)
This fixes the miscompile reported in #82430 by telling isSimpleVIDSequence to sign extend to XLen instead of the width of the indices, since the "sequence" of indices generated by a strided load will be at XLen. This was the simplest way I could think of getting isSimpleVIDSequence to treat the indexes as if they were zero extended to XLenVT. Another way we could do this is by refactoring out the "get constant integers" part from isSimpleVIDSequence and handle them as APInts so we can separately zero extend it. Fixes #82430
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions