aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2022-06-17 10:23:12 -0700
committerAlexey Bataev <a.bataev@outlook.com>2022-06-21 07:16:35 -0700
commitf1ee2738b3d70fea803ac1f3401c2fc9f61e514a (patch)
tree59e04e81a8b09b7dc54bd7012a797e089ae88a62 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentac4cb1775b8f40be2809245b818993a576639c1f (diff)
downloadllvm-f1ee2738b3d70fea803ac1f3401c2fc9f61e514a.zip
llvm-f1ee2738b3d70fea803ac1f3401c2fc9f61e514a.tar.gz
llvm-f1ee2738b3d70fea803ac1f3401c2fc9f61e514a.tar.bz2
[SLP]Fix a crash when insert subvector is out of range.
If the OffsetBeg + InsertVecSz is greater than VecSz, need to estimate the cost as shuffle of 2 vector, not as insert of subvector. Otherwise, the inserted subvector is out of range and compiler may crash. Differential Revision: https://reviews.llvm.org/D128071
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions