[all-commits] [llvm/llvm-project] 5fd945: [X86][AVX512] lower1BitShuffle - fold broadcast(se...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Mar 21 10:43:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fd945166862377be390948c9ab7dab2f47df217
      https://github.com/llvm/llvm-project/commit/5fd945166862377be390948c9ab7dab2f47df217
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

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

  Log Message:
  -----------
  [X86][AVX512] lower1BitShuffle - fold broadcast(setcc(x,y)) -> setcc(broadcast(x),broadcast(y)) (PR52500)

AVX512 has excellent broadcast ops for everything but vXi1 bool vectors - so if we're broadcasting a comparison result, see if we can broadcast the comparison operands instead.




More information about the All-commits mailing list