[PATCH] D154797: [CUDA][HIP] Rename and fix `-fcuda-approx-transcendentals`

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 10:51:49 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/test/Driver/hip-options.hip:179
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu -nogpuinc -nogpulib -fgpu-approx-transcendentals \
+// RUN:   --cuda-gpu-arch=gfx906  %s 2>&1 | FileCheck -check-prefixes=APPROX %s
+
----------------
excess spaces before `%s`

ditto below

Prefer `--check-prefix=` when there is one single check.


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

https://reviews.llvm.org/D154797



More information about the cfe-commits mailing list