[PATCH] D84932: [builtins] Add more test cases for __div[sdt]f3 LibCalls
Anatoly Trosinenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 30 04:33:35 PDT 2020
atrosinenko created this revision.
atrosinenko added reviewers: koviankevin, joerg, efriedma, compnerd, scanon.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.
atrosinenko requested review of this revision.
This patch
- makes the three tests look more uniformly
- adds more test cases (basically, everything that was in some of test files is put everythere)
- specifies types of integer and fp literals more stricter
- makes NaN in the second test case of `divtf3` to be `sNaN` instead of testing for `qNaN` again
This patch is sent in preparation for unifying the division implementations and implementing subnormal result handling.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84932
Files:
compiler-rt/test/builtins/Unit/divdf3_test.c
compiler-rt/test/builtins/Unit/divsf3_test.c
compiler-rt/test/builtins/Unit/divtf3_test.c
compiler-rt/test/builtins/Unit/fp_test.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84932.281873.patch
Type: text/x-patch
Size: 9086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200730/407ec04a/attachment.bin>
More information about the cfe-commits
mailing list