summaryrefslogtreecommitdiffstats
path: root/polly/test/Cloog/CodeGen
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-05-14 14:18:14 +0000
committerTobias Grosser <tobias@grosser.es>2014-05-14 14:18:14 +0000
commit5f860fdfe999126ffd2416e7d16bb47f9ed74088 (patch)
treea3d14d0aad4c517d7a54f9836c20e46c1aeca738 /polly/test/Cloog/CodeGen
parentb2e723e4480c126512fdfe8e153fe9a836b02b32 (diff)
downloadbcm5719-llvm-5f860fdfe999126ffd2416e7d16bb47f9ed74088.tar.gz
bcm5719-llvm-5f860fdfe999126ffd2416e7d16bb47f9ed74088.zip
Do not run GPGPU test cases without nvptx target
Tag the GPGPU codegen test cases as unsupported if the nvptx target is not included in the current llvm build. Contributed-by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 208779
Diffstat (limited to 'polly/test/Cloog/CodeGen')
-rw-r--r--polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll1
-rw-r--r--polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll1
2 files changed, 2 insertions, 0 deletions
diff --git a/polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll b/polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll
index dc2d6c0ae55..d3b2041c23b 100644
--- a/polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll
+++ b/polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll
@@ -1,3 +1,4 @@
+; REQUIRES: nvptx-registered-target
; RUN: opt %loadPolly -basicaa -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed+gpu -enable-polly-gpgpu -polly-gpgpu-triple=nvptx64-unknown-unknown -polly-codegen < %s -S | FileCheck %s
;int A[128][128];
diff --git a/polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll b/polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll
index 9cf61bc1d0c..06d282b190a 100644
--- a/polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll
+++ b/polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll
@@ -1,3 +1,4 @@
+; REQUIRES: nvptx-registered-target
; RUN: opt %loadPolly -basicaa -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed+gpu -enable-polly-gpgpu -polly-gpgpu-triple=nvptx64-unknown-unknown -polly-codegen < %s -S | FileCheck %s
;int A[128][128];
OpenPOWER on IntegriCloud