[libc-commits] [PATCH] D142921: [libc] Fix reusing/redefining `FPBits` symbols.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jan 30 11:21:24 PST 2023


lntue created this revision.
lntue added reviewers: michaelrj, sivachandra.
Herald added subscribers: ecnelises, tschuett.
Herald added projects: libc-project, All.
lntue requested review of this revision.

Change all of `FPBits` re-declaration to `FPB` instead.
See https://github.com/llvm/llvm-project/issues/57719#issuecomment-1333900338


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142921

Files:
  libc/src/__support/FPUtil/Hypot.h
  libc/src/__support/FPUtil/generic/FMA.h
  libc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
  libc/src/math/generic/acosf.cpp
  libc/src/math/generic/asinf.cpp
  libc/src/math/generic/asinhf.cpp
  libc/src/math/generic/atanf.cpp
  libc/src/math/generic/atanhf.cpp
  libc/src/math/generic/cosf.cpp
  libc/src/math/generic/coshf.cpp
  libc/src/math/generic/dp_trig.cpp
  libc/src/math/generic/exp10f.cpp
  libc/src/math/generic/exp2f.cpp
  libc/src/math/generic/expf.cpp
  libc/src/math/generic/expm1f.cpp
  libc/src/math/generic/hypotf.cpp
  libc/src/math/generic/log10.cpp
  libc/src/math/generic/log10f.cpp
  libc/src/math/generic/log1pf.cpp
  libc/src/math/generic/log2f.cpp
  libc/src/math/generic/logf.cpp
  libc/src/math/generic/sincosf.cpp
  libc/src/math/generic/sinf.cpp
  libc/src/math/generic/sinhf.cpp
  libc/src/math/generic/tanf.cpp
  libc/src/math/generic/tanhf.cpp
  libc/test/src/math/CeilTest.h
  libc/test/src/math/CopySignTest.h
  libc/test/src/math/FAbsTest.h
  libc/test/src/math/FDimTest.h
  libc/test/src/math/FMaxTest.h
  libc/test/src/math/FMinTest.h
  libc/test/src/math/FloorTest.h
  libc/test/src/math/FmaTest.h
  libc/test/src/math/FrexpTest.h
  libc/test/src/math/HypotTest.h
  libc/test/src/math/ILogbTest.h
  libc/test/src/math/LdExpTest.h
  libc/test/src/math/LogbTest.h
  libc/test/src/math/ModfTest.h
  libc/test/src/math/NextAfterTest.h
  libc/test/src/math/RIntTest.h
  libc/test/src/math/RemQuoTest.h
  libc/test/src/math/RoundTest.h
  libc/test/src/math/RoundToIntegerTest.h
  libc/test/src/math/SqrtTest.h
  libc/test/src/math/TruncTest.h
  libc/test/src/math/acosf_test.cpp
  libc/test/src/math/asin_test.cpp
  libc/test/src/math/asinf_test.cpp
  libc/test/src/math/asinhf_test.cpp
  libc/test/src/math/atanf_test.cpp
  libc/test/src/math/atanhf_test.cpp
  libc/test/src/math/cos_test.cpp
  libc/test/src/math/cosf_test.cpp
  libc/test/src/math/coshf_test.cpp
  libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
  libc/test/src/math/differential_testing/SingleInputSingleOutputDiff.h
  libc/test/src/math/exhaustive/acosf_test.cpp
  libc/test/src/math/exhaustive/asinf_test.cpp
  libc/test/src/math/exhaustive/asinhf_test.cpp
  libc/test/src/math/exhaustive/atanf_test.cpp
  libc/test/src/math/exhaustive/atanhf_test.cpp
  libc/test/src/math/exhaustive/cosf_test.cpp
  libc/test/src/math/exhaustive/coshf_test.cpp
  libc/test/src/math/exhaustive/exp10f_test.cpp
  libc/test/src/math/exhaustive/exp2f_test.cpp
  libc/test/src/math/exhaustive/expf_test.cpp
  libc/test/src/math/exhaustive/expm1f_test.cpp
  libc/test/src/math/exhaustive/hypotf_test.cpp
  libc/test/src/math/exhaustive/log10f_test.cpp
  libc/test/src/math/exhaustive/log1pf_test.cpp
  libc/test/src/math/exhaustive/log2f_test.cpp
  libc/test/src/math/exhaustive/logf_test.cpp
  libc/test/src/math/exhaustive/sincosf_test.cpp
  libc/test/src/math/exhaustive/sinf_test.cpp
  libc/test/src/math/exhaustive/sinhf_test.cpp
  libc/test/src/math/exhaustive/sqrtf_test.cpp
  libc/test/src/math/exhaustive/tanf_test.cpp
  libc/test/src/math/exhaustive/tanhf_test.cpp
  libc/test/src/math/exp10f_test.cpp
  libc/test/src/math/exp2f_test.cpp
  libc/test/src/math/expf_test.cpp
  libc/test/src/math/expm1f_test.cpp
  libc/test/src/math/in_float_range_test_helper.h
  libc/test/src/math/log10_test.cpp
  libc/test/src/math/log10f_test.cpp
  libc/test/src/math/log1pf_test.cpp
  libc/test/src/math/log2f_test.cpp
  libc/test/src/math/logf_test.cpp
  libc/test/src/math/mod_k_pi_test.cpp
  libc/test/src/math/pow_test.cpp
  libc/test/src/math/sin_test.cpp
  libc/test/src/math/sincosf_test.cpp
  libc/test/src/math/sinf_test.cpp
  libc/test/src/math/sinhf_test.cpp
  libc/test/src/math/tan_test.cpp
  libc/test/src/math/tanf_test.cpp
  libc/test/src/math/tanhf_test.cpp
  libc/test/utils/FPUtil/x86_long_double_test.cpp
  libc/utils/MPFRWrapper/MPFRUtils.cpp
  libc/utils/UnitTest/FPMatcher.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142921.493364.patch
Type: text/x-patch
Size: 133074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230130/c8c3fb6e/attachment-0001.bin>


More information about the libc-commits mailing list