[all-commits] [llvm/llvm-project] b9f49d: [compiler-rt][builtins] Add more test cases for __...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Tue Aug 25 06:23:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b9f49d13fd4400274ff24ecd847c710bf0c563c3
      https://github.com/llvm/llvm-project/commit/b9f49d13fd4400274ff24ecd847c710bf0c563c3
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M compiler-rt/test/builtins/Unit/divdf3_test.c
    M compiler-rt/test/builtins/Unit/divsf3_test.c
    M compiler-rt/test/builtins/Unit/divtf3_test.c
    M compiler-rt/test/builtins/Unit/fp_test.h

  Log Message:
  -----------
  [compiler-rt][builtins] Add more test cases for __div[sdt]f3 LibCalls

* Make the three tests look more uniformly
* Explicitly specify types of integer and floating point literals
* Add more test cases (mostly inspired by divtf3_test.c)
  - tests are added for obviously special cases such as +/-Inf, +/-0.0 and some
    more implementation-specific cases such as divisor being almost 1.0
* Make NaN in the second test case of `divtf3` to be `sNaN` instead of
  testing for `qNaN` again

Reviewed By: sepavloff

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


  Commit: e1edc1c76dc1efa38b76d42da81f32768e89ba24
      https://github.com/llvm/llvm-project/commit/e1edc1c76dc1efa38b76d42da81f32768e89ba24
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M llvm/utils/kate/llvm.xml
    M llvm/utils/vim/syntax/llvm.vim
    M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml

  Log Message:
  -----------
  [Utils] Add highlighting definition for byref IR attribute

This patch assumes `byref` can be handled identically to `byval`.

Reviewed By: MaskRay

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


Compare: https://github.com/llvm/llvm-project/compare/151f60319966...e1edc1c76dc1


More information about the All-commits mailing list