[all-commits] [llvm/llvm-project] f1305f: [X86] combinePredicateReduction - always use PMOVM...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jan 29 07:18:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1305f2369dca985af777cf9c0cf06009d5bcbe8
      https://github.com/llvm/llvm-project/commit/f1305f2369dca985af777cf9c0cf06009d5bcbe8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-29 (Sat, 29 Jan 2022)

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

  Log Message:
  -----------
  [X86] combinePredicateReduction - always use PMOVMSKB(PCMPEQB()) for allof(icmp_eq()) reductions

This greatly simplifies the codegen for recognising PTEST patterns and matches the codegen from the very similar LowerVectorAllZero




More information about the All-commits mailing list