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

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Feb 19 00:40:39 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72dc04a45ca73bb74bd0b6eebde95fc0a47fe65f
      https://github.com/llvm/llvm-project/commit/72dc04a45ca73bb74bd0b6eebde95fc0a47fe65f
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2026-02-19 (Thu, 19 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) (#181162)

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