[all-commits] [llvm/llvm-project] 0431cb: [AArch64] Use firstp for SVE2.2 cttz.elts (#221182)

Vimal Patel via All-commits all-commits at lists.llvm.org
Tue Sep 15 01:36:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0431cbe627d8000a49843965a9c22115c178e5d5
      https://github.com/llvm/llvm-project/commit/0431cbe627d8000a49843965a9c22115c178e5d5
  Author: Vimal Patel <vimal.patel at arm.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
    M llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll

  Log Message:
  -----------
  [AArch64] Use firstp for SVE2.2 cttz.elts (#221182)

Preserve zero-is-poison cttz.elts as a distinct AArch64ISD node.

This lets instruction selection choose firstp for SVE2.2 and SME2.2.

Keep brkb/cntp for no-poison uses and for older targets.



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