From 580a9f2c307f8d475277f20999ad5820d171beba Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 27 Apr 2020 13:31:49 -0400 Subject: [PATCH] Fix test without built AMDGPU --- clang/test/CodeGenOpenCL/backend-unsupported-warning.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll b/clang/test/CodeGenOpenCL/backend-unsupported-warning.ll index 82df126..597fe94 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 -- 2.7.4