[all-commits] [llvm/llvm-project] 3613b2: Constant Fold logf128 calls (#90611)

Matthew Devereau via All-commits all-commits at lists.llvm.org
Tue May 28 22:13:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3613b2683107bd60fda6d9348623be0686f6d7e3
      https://github.com/llvm/llvm-project/commit/3613b2683107bd60fda6d9348623be0686f6d7e3
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/Config/llvm-config.h.cmake
    A llvm/include/llvm/Support/float128.h
    M llvm/lib/Analysis/CMakeLists.txt
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/test/CMakeLists.txt
    A llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
    M llvm/test/lit.cfg.py
    M llvm/test/lit.site.cfg.py.in

  Log Message:
  -----------
  Constant Fold logf128 calls (#90611)

This is a second attempt to land #84501 which failed on several targets.

This patch adds the HAS_IEE754_FLOAT128 define which makes the check for
typedef'ing float128 more precise by checking whether __uint128_t is
available and checking if the host does not use __ibm128 which is
prevalent on power pc targets and replaces IEEE754 float128s.



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