[all-commits] [llvm/llvm-project] 9c88b6: [ConstantFolding] Fold maximumnum and minimumnum (...

Lewis Crawford via All-commits all-commits at lists.llvm.org
Thu May 8 09:01:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c88b6d6898812c01c82a6d5ec991fb331aef015
      https://github.com/llvm/llvm-project/commit/9c88b6d6898812c01c82a6d5ec991fb331aef015
  Author: Lewis Crawford <lcrawford at nvidia.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll

  Log Message:
  -----------
  [ConstantFolding] Fold maximumnum and minimumnum (#138700)

Add constant-folding support for the maximumnum and minimumnum
intrinsics, and extend the tests to show the qnan vs snan behavior
differences between maxnum/maximum/maximumnum.



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