r361905 - Fix failure of lit test dependent-libs.cu
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue May 28 18:34:44 PDT 2019
Author: yaxunl
Date: Tue May 28 18:34:44 2019
New Revision: 361905
URL: http://llvm.org/viewvc/llvm-project?rev=361905&view=rev
Log:
Fix failure of lit test dependent-libs.cu
Modified:
cfe/trunk/test/CodeGenCUDA/dependent-libs.cu
Modified: cfe/trunk/test/CodeGenCUDA/dependent-libs.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCUDA/dependent-libs.cu?rev=361905&r1=361904&r2=361905&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCUDA/dependent-libs.cu (original)
+++ cfe/trunk/test/CodeGenCUDA/dependent-libs.cu Tue May 28 18:34:44 2019
@@ -1,5 +1,7 @@
-// RUN: %clang_cc1 -emit-llvm -o - -fcuda-is-device -x hip %s | FileCheck --check-prefix=DEV %s
-// RUN: %clang_cc1 -emit-llvm -o - -x hip %s | FileCheck --check-prefix=HOST %s
+// REQUIRES: x86-registered-target
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -emit-llvm -o - -fcuda-is-device -x hip %s | FileCheck --check-prefix=DEV %s
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -o - -x hip %s | FileCheck --check-prefix=HOST %s
// DEV-NOT: llvm.dependent-libraries
// HOST: llvm.dependent-libraries
More information about the cfe-commits
mailing list