[PATCH] D134477: [X86] Lower vector interleave into unpck and perm

Han Zhu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 12:05:35 PDT 2022


zhuhan0 added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vector-interleave.ll:247
+; AVX2-NEXT:    vperm2f128 {{.*#+}} ymm0 = ymm1[0,1],ymm2[0,1]
+; AVX2-NEXT:    vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],ymm2[2,3]
 ; AVX2-NEXT:    retq
----------------
RKSimon wrote:
> Wouldn't AVX1 benefit from the v8f32 case as well?
Ah yes. I missed it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134477



More information about the llvm-commits mailing list