[all-commits] [llvm/llvm-project] 1336e3: [ConstantFold] Fold `ilogb` and `ilogbf` when the ...

c8ef via All-commits all-commits at lists.llvm.org
Sat Oct 19 19:46:56 PDT 2024


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

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

  Log Message:
  -----------
  [ConstantFold] Fold `ilogb` and `ilogbf` when the input parameter is a constant value.  (#113014)

This patch adds support for constant folding for the `ilogb` and
`ilogbf` 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