[all-commits] [llvm/llvm-project] 902184: [X86] combinePredicateReduction - generalize allof...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 24 16:32:19 PST 2022


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

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

  Log Message:
  -----------
  [X86] combinePredicateReduction - generalize allof(cmpeq(x,0)) handling to allof(cmpeq(x,y))

There's no further reasons to limit this to cmpeq-with-zero, the outstanding regressions with lowering to PTEST have now been addressed

Improves codegen for Issue #53379




More information about the All-commits mailing list