[all-commits] [llvm/llvm-project] 24780e: [X86] MatchVectorAllEqualTest - add support for ic...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Apr 1 07:39:03 PDT 2023


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

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

  Log Message:
  -----------
  [X86] MatchVectorAllEqualTest - add support for icmp(reduce_and(X),-1) allof reduction patterns

Also, improve codegen in LowerVectorAllEqual for X == -1 cases to reduce over sized vector using a AND reduction




More information about the All-commits mailing list