[all-commits] [llvm/llvm-project] 779c90: [AArch64] Recombine SETCCCARRY for legalized unsig...

Cheng Lingfei via All-commits all-commits at lists.llvm.org
Wed Jun 24 08:45:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 779c908014f73aee3b228d24572845dc1178e85f
      https://github.com/llvm/llvm-project/commit/779c908014f73aee3b228d24572845dc1178e85f
  Author: Cheng Lingfei <53817093+clingfei at users.noreply.github.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/i128-cmp.ll

  Log Message:
  -----------
  [AArch64] Recombine SETCCCARRY for legalized unsigned compares (#204504)

Type legalization can turn wide unsigned compares into SETCCCARRY nodes
fed by USUBO carry results, hiding the original high/low compare shape
from the existing CCMP conjunction/disjunction lowering.

Add an AArch64 DAG combine for SETCCCARRY that recognizes these
legalized wide-compare patterns and rebuilds them as SETCC plus AND/OR,
exposing them to the existing CCMP lowering.

This is separated from https://github.com/llvm/llvm-project/pull/181822.



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