[clang] 1ad63dc - clang: Add required target to test

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 28 16:50:29 PDT 2022


Author: Matt Arsenault
Date: 2022-10-28T16:50:23-07:00
New Revision: 1ad63dc0b760d5a280500a4e9ebdc242468392bd

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

LOG: clang: Add required target to test

Added: 
    

Modified: 
    clang/test/Misc/backend-resource-limit-diagnostics.hip

Removed: 
    


################################################################################
diff  --git a/clang/test/Misc/backend-resource-limit-diagnostics.hip b/clang/test/Misc/backend-resource-limit-diagnostics.hip
index ac31dced434a..b9a61e5aadad 100644
--- a/clang/test/Misc/backend-resource-limit-diagnostics.hip
+++ b/clang/test/Misc/backend-resource-limit-diagnostics.hip
@@ -1,3 +1,4 @@
+// REQUIRES: amdgpu-registered-target
 // RUN: not %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx906 -x hip -fcuda-is-device -emit-codegen-only %s 2>&1 | FileCheck %s
 
 #define __global__ __attribute__((global))


        


More information about the cfe-commits mailing list