[all-commits] [llvm/llvm-project] 231b87: [X86][AVX512] Fold not(kmov(x)) -> kmov(not(x)) an...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Apr 11 12:14:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 231b87618bb61b24674d060721f7004057da9336
      https://github.com/llvm/llvm-project/commit/231b87618bb61b24674d060721f7004057da9336
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-11 (Sun, 11 Apr 2021)

  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

  Log Message:
  -----------
  [X86][AVX512] Fold not(kmov(x)) -> kmov(not(x)) and not(widen_subvector(x)) -> widen_subvector(not(x))

Improve AVX512 mask inversion, rG38c799bce801 exposed some missing opportunities to move scalar not() back onto the boolvector types for folding with setcc etc.




More information about the All-commits mailing list