[polly] r333105 - [Acc] Enable legacy stmt granularity in remaining failing testcases

Philip Pfaffe via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 10:46:10 PDT 2018


Author: pfaffe
Date: Wed May 23 10:46:10 2018
New Revision: 333105

URL: http://llvm.org/viewvc/llvm-project?rev=333105&view=rev
Log:
[Acc] Enable legacy stmt granularity in remaining failing testcases

The default statement granularity changed in a recent change by Micheal. To
avoid forwad-porting the testcases, enable the legacy behaviour again in these tests.

Modified:
    polly/trunk/test/GPGPU/check-unused-fortran-array-size-param-offloaded-to-kernel.ll
    polly/trunk/test/GPGPU/partial_writes.ll
    polly/trunk/test/GPGPU/scalar-writes-in-scop-requires-abort.ll

Modified: polly/trunk/test/GPGPU/check-unused-fortran-array-size-param-offloaded-to-kernel.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/GPGPU/check-unused-fortran-array-size-param-offloaded-to-kernel.ll?rev=333105&r1=333104&r2=333105&view=diff
==============================================================================
--- polly/trunk/test/GPGPU/check-unused-fortran-array-size-param-offloaded-to-kernel.ll (original)
+++ polly/trunk/test/GPGPU/check-unused-fortran-array-size-param-offloaded-to-kernel.ll Wed May 23 10:46:10 2018
@@ -2,6 +2,7 @@
 ; RUN:     -polly-detect-fortran-arrays \
 ; RUN:     -polly-invariant-load-hoisting \
 ; RUN:     -polly-use-llvm-names \
+; RUN:     -polly-stmt-granularity=bb \
 ; RUN:     < %s | FileCheck %s --check-prefix=SCOP
 
 ; RUN: opt %loadPolly -S \

Modified: polly/trunk/test/GPGPU/partial_writes.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/GPGPU/partial_writes.ll?rev=333105&r1=333104&r2=333105&view=diff
==============================================================================
--- polly/trunk/test/GPGPU/partial_writes.ll (original)
+++ polly/trunk/test/GPGPU/partial_writes.ll Wed May 23 10:46:10 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-codegen-ppcg -S < %s \
+; RUN: opt %loadPolly -polly-import-jscop -polly-codegen-ppcg -polly-stmt-granularity=bb -S < %s \
 ; RUN: | FileCheck %s
 
 ; REQUIRES: pollyacc

Modified: polly/trunk/test/GPGPU/scalar-writes-in-scop-requires-abort.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/GPGPU/scalar-writes-in-scop-requires-abort.ll?rev=333105&r1=333104&r2=333105&view=diff
==============================================================================
--- polly/trunk/test/GPGPU/scalar-writes-in-scop-requires-abort.ll (original)
+++ polly/trunk/test/GPGPU/scalar-writes-in-scop-requires-abort.ll Wed May 23 10:46:10 2018
@@ -3,7 +3,7 @@
 ; RUN: -polly-invariant-load-hoisting < %s | FileCheck %s -check-prefix=SCOP
 
 ; RUN: opt %loadPolly -S -polly-use-llvm-names -polly-codegen-ppcg \
-; RUN: -polly-acc-dump-code \
+; RUN: -polly-acc-dump-code -polly-stmt-granularity=bb \
 ; RUN: -polly-invariant-load-hoisting < %s | FileCheck %s -check-prefix=CODE
 
 ; RUN: opt %loadPolly -S -polly-use-llvm-names -polly-codegen-ppcg \




More information about the llvm-commits mailing list