[PATCH] D136713: [SDAG] avoid vector extract/insert around binop

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 13:59:20 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/urem-vector-lkk.ll:149
+; SSE-NEXT:    andl $7, %eax
+; SSE-NEXT:    pinsrw $2, %eax, %xmm1
 ; SSE-NEXT:    pextrw $3, %xmm0, %eax
----------------
can the fold be expanded to work with insert_vector_elt as well?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136713/new/

https://reviews.llvm.org/D136713



More information about the llvm-commits mailing list