[all-commits] [llvm/llvm-project] 9b8aeb: [AArch64] Fold MIN/MAX(Vec[0], Vec[1]) to VECREDUC...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Feb 12 07:02:48 PST 2026


  Branch: refs/heads/users/MacDue/pr1
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b8aebe720e10ee2a2575202f2266553fed1c49f
      https://github.com/llvm/llvm-project/commit/9b8aebe720e10ee2a2575202f2266553fed1c49f
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/v2i64-min-max.ll

  Log Message:
  -----------
  [AArch64] Fold MIN/MAX(Vec[0], Vec[1]) to VECREDUCE_MIN/MAX(Vec)

If we have a lowering for `VECREDUCE_MIN/MAX` this is generally more
efficient than the scalar expansion.



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