aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-12-04 11:11:37 -0800
committerGitHub <noreply@github.com>2023-12-04 11:11:37 -0800
commit5bc391a7c96a58929794ec1dc664b966c0a03d09 (patch)
tree2a4de3491a1a0c2dbf9af900725a31cbd0706cbf /clang/lib/Frontend/CompilerInvocation.cpp
parent5aa2f8c98cd7b05e4cb8b6c74db08cf417c2a1a6 (diff)
downloadllvm-5bc391a7c96a58929794ec1dc664b966c0a03d09.zip
llvm-5bc391a7c96a58929794ec1dc664b966c0a03d09.tar.gz
llvm-5bc391a7c96a58929794ec1dc664b966c0a03d09.tar.bz2
[SelectionDAG] Use getVectorElementPointer in DAGCombiner::replaceStoreOfInsertLoad. (#74249)
This ensures we clip the index to be in bounds of the vector we are inserting into. If the index is out of bounds the results of the insert element is poison. If we don't clip the index we can write memory that was not part of the original store. Fixes #74248.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions