[PATCH] D87520: [tests][compiler-rt] Implement generic_ldbl{80,128}_test targets

Anatoly Trosinenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 11 09:13:42 PDT 2020


atrosinenko created this revision.
atrosinenko added reviewers: MaskRay, howard.hinnant, samsonov.
Herald added subscribers: Sanitizers, mgorny, dberris.
Herald added a project: Sanitizers.
atrosinenko requested review of this revision.
Herald added a subscriber: aheejin.

This patch introduces two "generic" pseudo targets to simplify testing
the changes to builtins library on a developer machine.

These targets

- ignore any target-specific subdirectories
- use the specified size of `long double` (this may simplify testing of QUAD_PRECISION libcall variants when working on a generic implementation on an X86 host)
- are intended *for testing only*
- may produce false positives (at least when non-default size of `long double` is selected)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87520

Files:
  compiler-rt/cmake/base-config-ix.cmake
  compiler-rt/cmake/builtin-config-ix.cmake
  compiler-rt/lib/builtins/CMakeLists.txt
  compiler-rt/test/builtins/Unit/addtf3_test.c
  compiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
  compiler-rt/test/builtins/Unit/divtc3_test.c
  compiler-rt/test/builtins/Unit/divxc3_test.c
  compiler-rt/test/builtins/Unit/subtf3_test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87520.291244.patch
Type: text/x-patch
Size: 5870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200911/2558a252/attachment.bin>


More information about the cfe-commits mailing list