[all-commits] [llvm/llvm-project] 26bfbe: [Intrinsic] Introduce reduction intrinsics for min...

annamthomas via All-commits all-commits at lists.llvm.org
Tue Jun 13 09:30:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26bfbec5d2817f75b2cc3e680bc93e247e1d3263
      https://github.com/llvm/llvm-project/commit/26bfbec5d2817f75b2cc3e680bc93e247e1d3263
  Author: Anna Thomas <anna at azul.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/IR/IRBuilder.cpp
    A llvm/test/CodeGen/AArch64/vecreduce-fmaximum.ll
    A llvm/test/CodeGen/X86/vector-reduce-fmaximum.ll

  Log Message:
  -----------
  [Intrinsic] Introduce reduction intrinsics for minimum/maximum

This patch introduces the reduction intrinsic for floating point minimum
and maximum which has the same semantics (for NaN and signed zero) as
llvm.minimum and llvm.maximum.

Reviewed-By: nikic

Differential Revision: https://reviews.llvm.org/D152370




More information about the All-commits mailing list