================ @@ -0,0 +1,27 @@ +#include "Inputs/cuda.h" + +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir \ +// RUN: -x cuda -emit-llvm -target-sdk-version=12.3 \ +// RUN: %s -o %t-cir.ll +// RUN: FileCheck --check-prefix=HOST --input-file=%t-cir.ll %s + +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu \ +// RUN: -x cuda -emit-llvm -target-sdk-version=12.3 \ +// RUN: %s -o %t.ll +// RUN: FileCheck --check-prefix=HOST --input-file=%t.ll %s ---------------- steffenlarsen wrote:
Should we also test `-x hip`? https://github.com/llvm/llvm-project/pull/230901 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
