[all-commits] [llvm/llvm-project] cad203: [X86][SSE] combineSetCCMOVMSK - fold MOVMSK(SHUFFL...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 19 02:58:20 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/movmsk-cmp.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll
    M llvm/test/CodeGen/X86/vector-reduce-or-bool.ll

  Log Message:
  -----------
  [X86][SSE] combineSetCCMOVMSK - fold MOVMSK(SHUFFLE(X,u)) -> MOVMSK(X)

If we're permuting ALL the elements of a single vector, then for allof/anyof MOVMSK tests we can avoid the shuffle entirely.




More information about the All-commits mailing list