[llvm] 8c0937f - Fix test HipStdPar/global-var.ll

Yaxun Liu via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 07:15:01 PDT 2024


Author: Yaxun (Sam) Liu
Date: 2024-05-02T10:14:40-04:00
New Revision: 8c0937f5629e2a0a11ce623e1d38fb86e955bdef

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

LOG: Fix test HipStdPar/global-var.ll

It requires amdgpu registered target.

Added: 
    

Modified: 
    llvm/test/Transforms/HipStdPar/global-var.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/HipStdPar/global-var.ll b/llvm/test/Transforms/HipStdPar/global-var.ll
index 30340bd6c7ca06..860c30e4a464dd 100644
--- a/llvm/test/Transforms/HipStdPar/global-var.ll
+++ b/llvm/test/Transforms/HipStdPar/global-var.ll
@@ -1,3 +1,4 @@
+; REQUIRES: amdgpu-registered-target
 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \
 ; RUN: %s | FileCheck %s
 


        


More information about the llvm-commits mailing list