[all-commits] [llvm/llvm-project] 5bc391: [SelectionDAG] Use getVectorElementPointer in DAGC...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Mon Dec 4 11:13:25 PST 2023
Branch: refs/heads/users/vitalybuka/spr/nfcasan-replace-asaninitedensure_asan_inited-with-tryasaninitfromrtl
Home: https://github.com/llvm/llvm-project
Commit: 5bc391a7c96a58929794ec1dc664b966c0a03d09
https://github.com/llvm/llvm-project/commit/5bc391a7c96a58929794ec1dc664b966c0a03d09
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/Mips/msa/basic_operations.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
M llvm/test/CodeGen/X86/pr59980.ll
Log Message:
-----------
[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.
Commit: d9f50eb2f4d07a61eec2b68518500de59f4f34ec
https://github.com/llvm/llvm-project/commit/d9f50eb2f4d07a61eec2b68518500de59f4f34ec
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/Mips/msa/basic_operations.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
M llvm/test/CodeGen/X86/pr59980.ll
Log Message:
-----------
[𝘀𝗽𝗿] landed version
Created using spr 1.3.4
Compare: https://github.com/llvm/llvm-project/compare/038d0f7a565d...d9f50eb2f4d0
More information about the All-commits
mailing list