================
@@ -0,0 +1,33 @@
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -x hip -fclangir \
+// RUN:            -fcuda-is-device -emit-llvm -I%S/../CodeGenCUDA/Inputs %s 
-o %t-cir.ll
+// RUN: FileCheck --check-prefixes=LLVM,SPIRV %s --input-file=%t-cir.ll
+
+// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -x hip \
+// RUN:            -fcuda-is-device -emit-llvm -I%S/../CodeGenCUDA/Inputs %s 
-o %t.ll
+// RUN: FileCheck --check-prefixes=LLVM,SPIRV %s --input-file=%t.ll
+
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip -fclangir \
----------------
steffenlarsen wrote:

```suggestion
// RUN: %clang_cc1 -triple amdgpu9-amd-amdhsa -x hip -fclangir \
```

https://github.com/llvm/llvm-project/pull/231971
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to