[polly] r211671 - test/ScopInfo: Remove %defaultOpts and list passes explicitly

Tobias Grosser tobias at grosser.es
Tue Jun 24 23:38:18 PDT 2014


Author: grosser
Date: Wed Jun 25 01:38:18 2014
New Revision: 211671

URL: http://llvm.org/viewvc/llvm-project?rev=211671&view=rev
Log:
test/ScopInfo: Remove %defaultOpts and list passes explicitly

Due to bad habit we sometimes used a variable %defaultOpts that listed
a set of passes commonly run to prepare for Polly. None of these test cases
actually needs special preparation and only two of them need the 'basicaa' to
be scheduled. Scheduling the required alias analysis explicitly makes the test
cases clearer.

Modified:
    polly/trunk/test/ScopInfo/20111108-Parameter-not-detected.ll
    polly/trunk/test/ScopInfo/Alias-0.ll
    polly/trunk/test/ScopInfo/Alias-1.ll
    polly/trunk/test/ScopInfo/Alias-2.ll
    polly/trunk/test/ScopInfo/Alias-3.ll
    polly/trunk/test/ScopInfo/Alias-4.ll
    polly/trunk/test/ScopInfo/bug_2010_10_22.ll
    polly/trunk/test/ScopInfo/bug_2011_1_5.ll
    polly/trunk/test/ScopInfo/bug_scev_not_fully_eval.ll
    polly/trunk/test/ScopInfo/cond_in_loop.ll
    polly/trunk/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll
    polly/trunk/test/ScopInfo/loop_carry.ll
    polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll
    polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll
    polly/trunk/test/ScopInfo/simple_nonaffine_loop.ll
    polly/trunk/test/ScopInfo/simple_nonaffine_loop_not.ll
    polly/trunk/test/ScopInfo/undef_in_cond.ll

Modified: polly/trunk/test/ScopInfo/20111108-Parameter-not-detected.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/20111108-Parameter-not-detected.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/20111108-Parameter-not-detected.ll (original)
+++ polly/trunk/test/ScopInfo/20111108-Parameter-not-detected.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 

Modified: polly/trunk/test/ScopInfo/Alias-0.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/Alias-0.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/Alias-0.ll (original)
+++ polly/trunk/test/ScopInfo/Alias-0.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

Modified: polly/trunk/test/ScopInfo/Alias-1.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/Alias-1.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/Alias-1.ll (original)
+++ polly/trunk/test/ScopInfo/Alias-1.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

Modified: polly/trunk/test/ScopInfo/Alias-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/Alias-2.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/Alias-2.ll (original)
+++ polly/trunk/test/ScopInfo/Alias-2.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

Modified: polly/trunk/test/ScopInfo/Alias-3.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/Alias-3.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/Alias-3.ll (original)
+++ polly/trunk/test/ScopInfo/Alias-3.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-analyze-ir -analyze < %s -stats 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

Modified: polly/trunk/test/ScopInfo/Alias-4.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/Alias-4.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/Alias-4.ll (original)
+++ polly/trunk/test/ScopInfo/Alias-4.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze < %s -stats 2>&1 | not FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-analyze-ir -analyze < %s -stats 2>&1 | not FileCheck %s
 ; REQUIRES: asserts
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

Modified: polly/trunk/test/ScopInfo/bug_2010_10_22.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/bug_2010_10_22.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/bug_2010_10_22.ll (original)
+++ polly/trunk/test/ScopInfo/bug_2010_10_22.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir %s
+; RUN: opt %loadPolly -polly-analyze-ir %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"

Modified: polly/trunk/test/ScopInfo/bug_2011_1_5.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/bug_2011_1_5.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/bug_2011_1_5.ll (original)
+++ polly/trunk/test/ScopInfo/bug_2011_1_5.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir -analyze %s
+; RUN: opt %loadPolly -polly-analyze-ir -analyze %s
 
 ; Bug description: Alias Analysis thinks IntToPtrInst aliases with alloca instructions created by IndependentBlocks Pass.
 ;                  This will trigger the assertion when we are verifying the SCoP after IndependentBlocks.

Modified: polly/trunk/test/ScopInfo/bug_scev_not_fully_eval.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/bug_scev_not_fully_eval.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/bug_scev_not_fully_eval.ll (original)
+++ polly/trunk/test/ScopInfo/bug_scev_not_fully_eval.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-detect -analyze  < %s | not FileCheck %s
+; RUN: opt %loadPolly -polly-detect -analyze  < %s | not FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"
 

Modified: polly/trunk/test/ScopInfo/cond_in_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/cond_in_loop.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/cond_in_loop.ll (original)
+++ polly/trunk/test/ScopInfo/cond_in_loop.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-analyze-ir  -analyze < %s | not FileCheck %s
+; RUN: opt %loadPolly -polly-analyze-ir  -analyze < %s | not FileCheck %s
 
 ;void f(long a[], long N, long M) {
 ;  long i, j, k;

Modified: polly/trunk/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll (original)
+++ polly/trunk/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-independent %s
+; RUN: opt %loadPolly -polly-independent %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 

Modified: polly/trunk/test/ScopInfo/loop_carry.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/loop_carry.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/loop_carry.ll (original)
+++ polly/trunk/test/ScopInfo/loop_carry.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-prepare -polly-scops -analyze  < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-prepare -polly-scops -analyze  < %s | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-linux-gnu"

Modified: polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll (original)
+++ polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-prepare  -analyze  %s
+; RUN: opt %loadPolly -polly-prepare  -analyze  %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-linux-gnu"
 

Modified: polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll (original)
+++ polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-prepare -polly-detect  -analyze  %s
+; RUN: opt %loadPolly -polly-prepare -polly-detect  -analyze  %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-linux-gnu"
 

Modified: polly/trunk/test/ScopInfo/simple_nonaffine_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/simple_nonaffine_loop.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/simple_nonaffine_loop.ll (original)
+++ polly/trunk/test/ScopInfo/simple_nonaffine_loop.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7.2"
 

Modified: polly/trunk/test/ScopInfo/simple_nonaffine_loop_not.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/simple_nonaffine_loop_not.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/simple_nonaffine_loop_not.ll (original)
+++ polly/trunk/test/ScopInfo/simple_nonaffine_loop_not.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-scops -analyze < %s | not FileCheck %s
+; RUN: opt %loadPolly -polly-scops -analyze < %s | not FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7.2"
 

Modified: polly/trunk/test/ScopInfo/undef_in_cond.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/undef_in_cond.ll?rev=211671&r1=211670&r2=211671&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/undef_in_cond.ll (original)
+++ polly/trunk/test/ScopInfo/undef_in_cond.ll Wed Jun 25 01:38:18 2014
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"
 





More information about the llvm-commits mailing list