[all-commits] [llvm/llvm-project] 923566: [ConstantFold] Fold `logb` and `logbf` when the in...

c8ef via All-commits all-commits at lists.llvm.org
Wed Oct 9 16:56:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 923566a67de39a00eb6fc5cabbad307a72aa338e
      https://github.com/llvm/llvm-project/commit/923566a67de39a00eb6fc5cabbad307a72aa338e
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Transforms/InstCombine/logb.ll

  Log Message:
  -----------
  [ConstantFold] Fold `logb` and `logbf` when the input parameter is a constant value. (#111232)

This patch adds support for constant folding for the `logb` and `logbf`
libc functions.



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