[all-commits] [llvm/llvm-project] b8b5e8: [X86][AVX] Handle vperm2x128 shuffling of a subvec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jan 20 10:21:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8b5e87e6b8102d77e4e6beccf4e0f0237acc897
      https://github.com/llvm/llvm-project/commit/b8b5e87e6b8102d77e4e6beccf4e0f0237acc897
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx-vperm2x128.ll
    M llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll

  Log Message:
  -----------
  [X86][AVX] Handle vperm2x128 shuffling of a subvector splat.

We already handle "vperm2x128 (ins ?, X, C1), (ins ?, X, C1), 0x31" for shuffling of the upper subvectors, but we weren't dealing with the case when we were splatting the upper subvector from a single source.




More information about the All-commits mailing list