[clang] 580a9f2 - Fix test without built AMDGPU

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 10:32:09 PDT 2020


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


        


More information about the cfe-commits mailing list