Author: Yaxun (Sam) Liu
Date: 2020-10-02T10:33:32-04:00
New Revision: c87c017a4c47c47b002b9f55f25285298cd07093

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

LOG: Fix failure in test hip-macros.hip

requires amdgpu-registered-target.

Added: 
    

Modified: 
    clang/test/Driver/hip-macros.hip

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/hip-macros.hip 
b/clang/test/Driver/hip-macros.hip
index 00dcca17a08a..3105c25b8b9d 100644
--- a/clang/test/Driver/hip-macros.hip
+++ b/clang/test/Driver/hip-macros.hip
@@ -1,3 +1,4 @@
+// REQUIRES: clang-driver, amdgpu-registered-target
 // RUN: %clang -E -dM --offload-arch=gfx906 -mwavefrontsize64 \
 // RUN:   --cuda-device-only -nogpuinc -nogpulib \
 // RUN:   %s 2>&1 | FileCheck --check-prefixes=WAVE64 %s


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

Reply via email to