[clang] 9f406e4 - [HIP][Clang][Driver] Correctly specify test requirements as Linux + x86 + AMDGPU; temporarily retain targeted XFAILs for Hexagon & PS.

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 4 04:04:25 PDT 2023


Author: Alex Voicu
Date: 2023-10-04T12:04:13+01:00
New Revision: 9f406e450b6dfebe41be54cc7a7a6861b8eaf618

URL: https://github.com/llvm/llvm-project/commit/9f406e450b6dfebe41be54cc7a7a6861b8eaf618
DIFF: https://github.com/llvm/llvm-project/commit/9f406e450b6dfebe41be54cc7a7a6861b8eaf618.diff

LOG: [HIP][Clang][Driver] Correctly specify test requirements as Linux + x86 + AMDGPU; temporarily retain targeted XFAILs for Hexagon & PS.

Differential Revision: https://reviews.llvm.org/D155775

Added: 
    

Modified: 
    clang/test/Driver/hipstdpar.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/hipstdpar.c b/clang/test/Driver/hipstdpar.c
index f12a6e8d9d25249..69c5b177d170cd8 100644
--- a/clang/test/Driver/hipstdpar.c
+++ b/clang/test/Driver/hipstdpar.c
@@ -1,8 +1,9 @@
-// XFAIL: target={{.*}}-apple{{.*}}
+// REQUIRES: x86-registered-target
+// REQUIRES: amdgpu-registered-target
+// REQUIRES: system-linux
 // XFAIL: target={{.*}}hexagon{{.*}}
 // XFAIL: target={{.*}}-scei{{.*}}
 // XFAIL: target={{.*}}-sie{{.*}}
-// XFAIL: target={{.*}}-windows{{.*}}
 
 // RUN: not %clang -### --hipstdpar -nogpulib -nogpuinc --compile %s 2>&1 | \
 // RUN:   FileCheck --check-prefix=HIPSTDPAR-MISSING-LIB %s


        


More information about the cfe-commits mailing list