[all-commits] [llvm/llvm-project] 29c3a2: [X86] combinePredicateReduction - fold any_of(setc...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Feb 4 07:08:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29c3a2c6dbce4b8232ea21944abc18a3e165d26a
      https://github.com/llvm/llvm-project/commit/29c3a2c6dbce4b8232ea21944abc18a3e165d26a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

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

  Log Message:
  -----------
  [X86] combinePredicateReduction - fold any_of(setcc(x,y,ne)) -> pmovmskb(not(pcmpeqb()))

Improves codegen for v2i64 cases, similar to what we already do for all_of(setcc(x,y,eq))




More information about the All-commits mailing list