[all-commits] [llvm/llvm-project] 71d4f3: [flang] Use libm routine for compile-time folding ...

Kelvin Li via All-commits all-commits at lists.llvm.org
Tue Nov 12 07:06:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71d4f343f52756ca086d02151662e68633a0db52
      https://github.com/llvm/llvm-project/commit/71d4f343f52756ca086d02151662e68633a0db52
  Author: Kelvin Li <kkwli at users.noreply.github.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics-library.cpp

  Log Message:
  -----------
  [flang] Use libm routine for compile-time folding on AIX (#114106)

On AIX, the implementation of `std::sqrt` is different from that of
`csqrtf`, it leads to different results in compile-time folding and
runtime evaluation. This patch is to make the routine calls using
the same implementation.



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