[all-commits] [llvm/llvm-project] 702a97: [OpenMP][Offloading] Change the way to compare flo...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Feb 10 15:20:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702a976c125cde4807b7c870518e64b345df2396
      https://github.com/llvm/llvm-project/commit/702a976c125cde4807b7c870518e64b345df2396
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M openmp/libomptarget/test/offloading/bug49334.cpp

  Log Message:
  -----------
  [OpenMP][Offloading] Change the way to compare floating point values in bug49334.cpp

`bug49334.cpp` directly uses `!=` to compare two floating point values,
which is almost wrong.

Reviewed By: jhuber6

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




More information about the All-commits mailing list