aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-07-03 16:01:23 +0800
committerGitHub <noreply@github.com>2024-07-03 16:01:23 +0800
commitb3be14896770b31c18f4ec32b05b334dc811f356 (patch)
treef4ea47e66f8602488e6df6ceca0acda1abf1c4a3 /clang/unittests/Interpreter/InterpreterTest.cpp
parent3969d2c3b5f42e4a180f5205efa780b0f950d733 (diff)
downloadllvm-b3be14896770b31c18f4ec32b05b334dc811f356.zip
llvm-b3be14896770b31c18f4ec32b05b334dc811f356.tar.gz
llvm-b3be14896770b31c18f4ec32b05b334dc811f356.tar.bz2
[RISCV] Use LiveIntervals::extendToIndices to extend AVL in insertVSETVLI (#97512)
In #96200 we handled extending AVL LiveIntervals across basic blocks, which fixed a crash in a test case in 133ab9a8c82a31549f060da33fd7e14f1d7f39fd. This was done by manually adding a single segment to the LiveInterval to extend it from AVL def -> inserted vsetvli, but in hindsight this was too simple and fails to handle cases where the vsetlvi is located before the AVL def. This patch fixes this by using LiveIntervals::extendToIndices instead which can handle these cases. (The crash that this fixes is separate from the crash in #97264)
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions