[all-commits] [llvm/llvm-project] 7706c7: [X86] Fold vXi1 OR(KSHIFTL(X, NumElts/2), Y) -> KUNPCK

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jun 11 07:48:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7706c7af74419675a6d62548ddb9c34ea995d34f
      https://github.com/llvm/llvm-project/commit/7706c7af74419675a6d62548ddb9c34ea995d34f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-v1.ll

  Log Message:
  -----------
  [X86] Fold vXi1 OR(KSHIFTL(X,NumElts/2),Y) -> KUNPCK

Convert shift+or bool vector patterns into CONCAT_VECTORS if we know this will be lowered to KUNPCK (which requires 16+ vector elements).

Fixes PR32547




More information about the All-commits mailing list