================ @@ -0,0 +1,69 @@ +// REQUIRES: amdgpu-registered-target +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip -fclangir \ +// RUN: -fcuda-is-device -emit-cir %s -o %t.amd.cir +// RUN: FileCheck --check-prefix=CIR %s --input-file=%t.amd.cir +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip -fclangir \ +// RUN: -fcuda-is-device -emit-llvm %s -o %t.amd-cir.ll +// RUN: FileCheck --check-prefixes=LLVM,AMD %s --input-file=%t.amd-cir.ll +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip \ +// RUN: -fcuda-is-device -emit-llvm %s -o %t.amd.ll +// RUN: FileCheck --check-prefixes=LLVM,AMD %s --input-file=%t.amd.ll +// RUN: %clang_cc1 -triple spirv64-amd-amdhsa -x hip -fclangir \ +// RUN: -fcuda-is-device -emit-cir %s -o %t.spv.cir ---------------- shiltian wrote:
Don't format test file, aka no need for wrapping RUN lines. https://github.com/llvm/llvm-project/pull/230829 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
