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

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Feb 12 06:56:03 PST 2026


  Branch: refs/heads/users/MacDue/pr1
  Home:   https://github.com/llvm/llvm-project
  Commit: caabcb5115e043da852d0ebcf5c72278914c3966
      https://github.com/llvm/llvm-project/commit/caabcb5115e043da852d0ebcf5c72278914c3966
  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