[Openmp-commits] [PATCH] D75788: [OpenMP] Provide math functions in OpenMP device code via OpenMP variants

Sam McCall via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Apr 11 07:27:16 PDT 2020


sammccall added inline comments.


================
Comment at: clang/test/Headers/nvptx_device_math_macro.cpp:11
+  double a(0);
+// CHECK-NOT:  call
+// CHECK:  call double @llvm.fabs.f64(double
----------------
Hmm, this fails if the test is run from a directory containing "call".

> ; ModuleID = '/usr/local/google/home/sammccall/src/llvm-project/clang/test/Headers/nvptx_device_math_macro.cpp

I guess I can blame my parents :-)
Is `CHECK-NOT: call double` correct for both of these?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75788/new/

https://reviews.llvm.org/D75788





More information about the Openmp-commits mailing list