summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-02-19 05:31:07 +0000
committerTobias Grosser <tobias@grosser.es>2015-02-19 05:31:07 +0000
commitd1e33e7061126d181f63b3e1019cf3f11269deff (patch)
tree9f4b995f03b9cdea2228cd1c755000014926d0f8 /polly/test/ScopInfo/reduction_multiple_simple_binary.ll
parent3e1551c96f5ca7217ba850dd77c6f3702004c07a (diff)
downloadbcm5719-llvm-d1e33e7061126d181f63b3e1019cf3f11269deff.tar.gz
bcm5719-llvm-d1e33e7061126d181f63b3e1019cf3f11269deff.zip
ScopDetection: Only detect scops that have at least one read and one write
Scops that only read seem generally uninteresting and scops that only write are most likely initializations where there is also little to optimize. To not waste compile time we bail early. Differential Revision: http://reviews.llvm.org/D7735 llvm-svn: 229820
Diffstat (limited to 'polly/test/ScopInfo/reduction_multiple_simple_binary.ll')
-rw-r--r--polly/test/ScopInfo/reduction_multiple_simple_binary.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/ScopInfo/reduction_multiple_simple_binary.ll b/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
index c701ed1d33b..38b8e3824cc 100644
--- a/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
+++ b/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt -basicaa %loadPolly -polly-detect-unprofitable -polly-scops -analyze < %s | FileCheck %s
;
; CHECK: ReadAccess := [Reduction Type: NONE
; CHECK: { Stmt_for_body[i0] -> MemRef_A[1 + i0] };
OpenPOWER on IntegriCloud