[all-commits] [llvm/llvm-project] e24109: Revert "[AIX][test] XFAIL constant folding log1p t...

Hubert Tong via All-commits all-commits at lists.llvm.org
Fri Nov 1 20:30:07 PDT 2024


  Branch: refs/heads/users/hubert-reinterpretcast/ConstantFold-log1pZeroCases
  Home:   https://github.com/llvm/llvm-project
  Commit: e2410939f16f83fd304656a4fdfe127b6e138c89
      https://github.com/llvm/llvm-project/commit/e2410939f16f83fd304656a4fdfe127b6e138c89
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/log1p.ll

  Log Message:
  -----------
  Revert "[AIX][test] XFAIL constant folding log1p test"

This reverts commit 900b6369e2f5fbc229371a142fdcd28b5280dbc0.


  Commit: c87de4c14f69b3072af3bc9debcd7bada50b7a26
      https://github.com/llvm/llvm-project/commit/c87de4c14f69b3072af3bc9debcd7bada50b7a26
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp

  Log Message:
  -----------
  [ConstantFold] Special case log1p +/-0.0

C's Annex F specifies that log1p +/-0.0 returns the input value;
however, this behavior is optional and host C libraries may behave
differently. This change applies the Annex F behavior to constant
folding by LLVM.


Compare: https://github.com/llvm/llvm-project/compare/e2410939f16f%5E...c87de4c14f69

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