================
@@ -0,0 +1,65 @@
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -x hip -triple x86_64-unknown-linux-gnu -aux-triple 
amdgcn-amd-amdhsa \
+// RUN:   -fclangir -emit-cir %s -o - \
+// RUN:   | FileCheck %s --check-prefix=CIR-HOST --implicit-check-not=One 
--implicit-check-not=Missing
+// RUN: %clang_cc1 -x hip -triple x86_64-unknown-linux-gnu -aux-triple 
amdgcn-amd-amdhsa \
+// RUN:   -fclangir -emit-llvm %s -o - \
+// RUN:   | FileCheck %s --check-prefix=LLVM-HOST --implicit-check-not=One 
--implicit-check-not=Missing
+// RUN: %clang_cc1 -x hip -triple x86_64-unknown-linux-gnu -aux-triple 
amdgcn-amd-amdhsa \
+// RUN:   -emit-llvm %s -o - \
+// RUN:   | FileCheck %s --check-prefix=LLVM-HOST --implicit-check-not=One 
--implicit-check-not=Missing
+// RUN: %clang_cc1 -x hip -triple amdgcn-amd-amdhsa -aux-triple 
x86_64-unknown-linux-gnu \
----------------
aobolensk wrote:

here also

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

Reply via email to