[all-commits] [llvm/llvm-project] 9c35a7: [AArch64] Refine reduction VT selection in CTPOP -...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Mar 5 01:02:41 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c35a7bfbc832fe357d03cc801ec25a811e52dc9
      https://github.com/llvm/llvm-project/commit/9c35a7bfbc832fe357d03cc801ec25a811e52dc9
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/popcount_vmask.ll

  Log Message:
  -----------
  [AArch64] Refine reduction VT selection in CTPOP -> VECREDUCE combine (#183025)

Use the same VT as the SETcc source, or fall back to using the VT of the
unextended operand of the CTPOP if the element size of the SETcc is too
small to fit the negative popcount.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list