[all-commits] [llvm/llvm-project] 5156be: [AArch64][ISel] Recover ADDHN from OR comparison m...

Harry Ramsey via All-commits all-commits at lists.llvm.org
Tue Aug 4 04:21:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5156be95e21ca4ac6a0e26ddf1ea349e7199b7d9
      https://github.com/llvm/llvm-project/commit/5156be95e21ca4ac6a0e26ddf1ea349e7199b7d9
  Author: Harry Ramsey <harry.ramsey at arm.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/bf16-v4-instructions.ll
    M llvm/test/CodeGen/AArch64/bf16-v8-instructions.ll
    M llvm/test/CodeGen/AArch64/cgp-usubo.ll
    M llvm/test/CodeGen/AArch64/fp16-v4-instructions.ll
    M llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll
    M llvm/test/CodeGen/AArch64/half-precision-signof-no-assert.ll
    M llvm/test/CodeGen/AArch64/intrinsic-vector-match-sve2.ll
    M llvm/test/CodeGen/AArch64/is_fpclass.ll
    A llvm/test/CodeGen/AArch64/neon-addhn.ll
    M llvm/test/CodeGen/AArch64/select-with-and-or.ll

  Log Message:
  -----------
  [AArch64][ISel] Recover ADDHN from OR comparison masks (#210943)

InstCombine converts the high-half addition of vector comparison masks
into an OR. Recognise the resulting trunc(or(setcc, setcc)) DAG and
reconstruct the canonical ADDHN pattern for the supported NEON types.



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