Author: Artem Belevich
Date: 2020-03-11T16:06:09-07:00
New Revision: 8527c1ed66c63db0590cd69320ba0bf8fad59b87

URL: 
https://github.com/llvm/llvm-project/commit/8527c1ed66c63db0590cd69320ba0bf8fad59b87
DIFF: 
https://github.com/llvm/llvm-project/commit/8527c1ed66c63db0590cd69320ba0bf8fad59b87.diff

LOG: Added constraints on cl-options.cu test

Added: 
    

Modified: 
    clang/test/Driver/cl-options.cu

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cl-options.cu b/clang/test/Driver/cl-options.cu
index 7597970af160..2fd393e06d2d 100644
--- a/clang/test/Driver/cl-options.cu
+++ b/clang/test/Driver/cl-options.cu
@@ -3,6 +3,10 @@
 // Note: %s must be preceded by --, otherwise it may be interpreted as a
 // command-line option, e.g. on Mac where %s is commonly under /Users.
 
+// REQUIRES: clang-driver
+// REQUIRES: x86-registered-target
+// REQUIRES: nvptx-registered-target
+
 // -stack-protector should not be passed to device-side CUDA compilation
 // RUN: %clang_cl -### -nocudalib -nocudainc -- %s 2>&1 | FileCheck 
-check-prefix=GS-default %s
 // GS-default: "-cc1" "-triple" "nvptx64-nvidia-cuda"


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to