[all-commits] [llvm/llvm-project] 417ea7: [libc] Enable hermetic floating point tests

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 25 17:09:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 417ea79e792a87d53f5ac4f5388af4b25aa04d7d
      https://github.com/llvm/llvm-project/commit/417ea79e792a87d53f5ac4f5388af4b25aa04d7d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M libc/test/UnitTest/RoundingModeUtils.cpp
    M libc/test/src/CMakeLists.txt
    M libc/test/src/fenv/CMakeLists.txt

  Log Message:
  -----------
  [libc] Enable hermetic floating point tests

This patch enables us to run the floating point tests as hermetic.
Importantly we now use the internal versions of the `fesetround` and
`fegetround` functions.

Reviewed By: michaelrj

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




More information about the All-commits mailing list