================
@@ -0,0 +1,11 @@
+// Check that if we are compiling with fgpu-rdc amdgpu-enable-hipstdpar is not
+// passed to CC1, to avoid eager, per TU, removal of potentially accessible
+// functions.
+
+// RUN: %clang -### --hipstdpar --offload-arch=gfx906 %s -nogpulib -nogpuinc \
+// RUN: 2>&1 | FileCheck -check-prefix=NORDC %s
+// NORDC: {{".*clang.*".* "-triple" "amdgcn-amd-amdhsa".* "-mllvm"
"-amdgpu-enable-hipstdpar".*}}
----------------
Pierre-vh wrote:
I think for both check lines you don't need the regex (`{{ }}`), you can just
`CHECK: "-mllvm" "-amdgpu-enable-hipstdpar"` no ?
https://github.com/llvm/llvm-project/pull/134753
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits