[test] Add -polly-unprofitable-scalar-accs to test that needs it.
authorMichael Kruse <llvm@meinersbur.de>
Sun, 16 Oct 2016 18:13:01 +0000 (18:13 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Sun, 16 Oct 2016 18:13:01 +0000 (18:13 +0000)
The test non_affine_loop_used_later.ll also tests the profability heuristic. Add
the option -polly-unprofitable-scalar-accs explicitely to ensure that the test
succeeds if the default value is changed.

llvm-svn: 284338

polly/test/ScopInfo/NonAffine/non_affine_loop_used_later.ll

index bdba84c..b4dd67d 100644 (file)
@@ -2,6 +2,7 @@
 ; RUN:     -polly-allow-nonaffine -polly-allow-nonaffine-branches \
 ; RUN:     -polly-allow-nonaffine-loops -analyze < %s | FileCheck %s
 ; RUN: opt %loadPolly -polly-scops -polly-allow-nonaffine \
+; RUN      -polly-unprofitable-scalar-accs=true \
 ; RUN:     -polly-process-unprofitable=false \
 ; RUN:     -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops \
 ; RUN:     -analyze < %s | FileCheck %s --check-prefix=PROFIT