[llvm] [SelectionDAG] Use getVectorElementPointer in DAGCombiner::replaceStoreOfInsertLoad. (PR #74249)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 18:10:58 PST 2023


================
@@ -9,6 +9,7 @@ define void @foo(ptr %0, ptr %1, ptr %2) #0 {
 ; CHECK:       ## %bb.0:
 ; CHECK-NEXT:    movl (%rdx), %eax
 ; CHECK-NEXT:    vpinsrw $0, (%rdi), %xmm0, %xmm0
+; CHECK-NEXT:    andl $15, %eax
----------------
phoebewang wrote:

I see the problem, thanks! It looks like a serious security!

https://github.com/llvm/llvm-project/pull/74249


More information about the llvm-commits mailing list