Author: Matt Arsenault
Date: 2020-04-27T13:32:00-04:00
New Revision: 580a9f2c307f8d475277f20999ad5820d171beba
URL: 
https://github.com/llvm/llvm-project/commit/580a9f2c307f8d475277f20999ad5820d171beba
DIFF: 
https://github.com/llvm/llvm-project/commit/580a9f2c307f8d475277f20999ad5820d171beba.diff

LOG: Fix test without built AMDGPU

Added: 
    

Modified: 
    clang/test/CodeGenOpenCL/backend-unsupported-warning.ll

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll 
b/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll
index 82df1261c1ae..597fe94885e3 100644
--- a/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll
+++ b/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll
@@ -1,3 +1,4 @@
+; REQUIRES: amdgpu-registered-target
 ; RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -S -o - %s 2>&1 | FileCheck %s
 
 ; Check that a DiagnosticUnsupported reported as a warning works


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

Reply via email to