[all-commits] [llvm/llvm-project] cea924: [NVPTX] Constant fold NVVM fmin and fmax (#121966)

Lewis Crawford via All-commits all-commits at lists.llvm.org
Thu Jan 16 06:39:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cea92446ac289dc013e6253cb84445981010d08a
      https://github.com/llvm/llvm-project/commit/cea92446ac289dc013e6253cb84445981010d08a
  Author: Lewis Crawford <lcrawford at nvidia.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M llvm/include/llvm/IR/NVVMIntrinsicUtils.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Transforms/InstSimplify/const-fold-nvvm-fmin-fmax.ll

  Log Message:
  -----------
  [NVPTX] Constant fold NVVM fmin and fmax (#121966)

Add constant-folding for nvvm float/double fmin + fmax intrinsics,
including all combinations of xorsign.abs, nan-propagation, and ftz.



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