[all-commits] [llvm/llvm-project] e256f5: [builtins][test] Skip scalbn rounding tests on newlib

dcandler via All-commits all-commits at lists.llvm.org
Tue May 30 01:01:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e256f552c81527712cc3dcf245ca606c43742915
  Author: David Candler <david.candler at arm.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c
    M compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c

  Log Message:
  [builtins][test] Skip scalbn rounding tests on newlib

The picolib/newlib implementation of scalbn gives slightly different
results compared to glibc and compiler-rt's inlined
__compiler_rt_scalbn in certain rounding modes. Since these tests
are already disabled for msvc which doesn't respect the mode change,
this patch skips them for newlib as well.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D150280

More information about the All-commits mailing list