[llvm-commits] [polly] r156255 - in /polly/trunk/test: ./ CodeGen/ ScheduleOptimizer/

Hongbin Zheng etherzhhb at gmail.com
Sun May 6 03:22:43 PDT 2012


Author: ether
Date: Sun May  6 05:22:43 2012
New Revision: 156255

URL: http://llvm.org/viewvc/llvm-project?rev=156255&view=rev
Log:
Regression tests: Adapt the vectorize option change.

Modified:
    polly/trunk/test/CodeGen/matmul_vec.ll
    polly/trunk/test/CodeGen/simple_vec_assign_scalar.ll
    polly/trunk/test/CodeGen/simple_vec_assign_scalar_2.ll
    polly/trunk/test/CodeGen/simple_vec_call.ll
    polly/trunk/test/CodeGen/simple_vec_call_2.ll
    polly/trunk/test/CodeGen/simple_vec_cast.ll
    polly/trunk/test/CodeGen/simple_vec_const.ll
    polly/trunk/test/CodeGen/simple_vec_impossible.ll
    polly/trunk/test/CodeGen/simple_vec_large_width.ll
    polly/trunk/test/CodeGen/simple_vec_stride_one.ll
    polly/trunk/test/CodeGen/simple_vec_stride_x.ll
    polly/trunk/test/CodeGen/simple_vec_two_stmts.ll
    polly/trunk/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll
    polly/trunk/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
    polly/trunk/test/lit.site.cfg.in

Modified: polly/trunk/test/CodeGen/matmul_vec.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/matmul_vec.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/matmul_vec.ll (original)
+++ polly/trunk/test/CodeGen/matmul_vec.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-import-jscop -polly-import-jscop-dir=%S -polly-codegen -enable-polly-vector -S -dce %s | FileCheck %s 
+; RUN: opt %loadPolly %defaultOpts -polly-import-jscop -polly-import-jscop-dir=%S -polly-codegen %vector-opt -S -dce %s | FileCheck %s 
 
 ; ModuleID = 'matmul_vec.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"

Modified: polly/trunk/test/CodeGen/simple_vec_assign_scalar.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_assign_scalar.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_assign_scalar.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_assign_scalar.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %s | FileCheck %s
 ; ModuleID = 'simple_vec_assign_scalar.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/CodeGen/simple_vec_assign_scalar_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_assign_scalar_2.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_assign_scalar_2.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_assign_scalar_2.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %s | FileCheck %s
 ; ModuleID = 'simple_vec_assign_scalar_2.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/CodeGen/simple_vec_call.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_call.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_call.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_call.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -S %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -S %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"
 

Modified: polly/trunk/test/CodeGen/simple_vec_call_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_call_2.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_call_2.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_call_2.ll Sun May  6 05:22:43 2012
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -polly-codegen-scev=false -dce -S %s | FileCheck %s
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -polly-codegen-scev=true -dce -S %s | FileCheck %s -check-prefix=CHECK-SCEV
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -polly-codegen-scev=false -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -polly-codegen-scev=true -dce -S %s | FileCheck %s -check-prefix=CHECK-SCEV
 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/CodeGen/simple_vec_cast.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_cast.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_cast.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_cast.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -dce -S %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"
 

Modified: polly/trunk/test/CodeGen/simple_vec_const.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_const.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_const.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_const.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -S %s | FileCheck %s
 
 ; ModuleID = 'simple_vec_const.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"

Modified: polly/trunk/test/CodeGen/simple_vec_impossible.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_impossible.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_impossible.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_impossible.ll Sun May  6 05:22:43 2012
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -S -polly-codegen-scev=false %s | FileCheck %s
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -S -polly-codegen-scev=true %s | FileCheck %s -check-prefix=CHECK-SCEV
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -S -polly-codegen-scev=false %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-codegen %vector-opt -S -polly-codegen-scev=true %s | FileCheck %s -check-prefix=CHECK-SCEV
 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/CodeGen/simple_vec_large_width.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_large_width.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_large_width.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_large_width.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %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"
 

Modified: polly/trunk/test/CodeGen/simple_vec_stride_one.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_stride_one.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_stride_one.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_stride_one.ll Sun May  6 05:22:43 2012
@@ -1,7 +1,7 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
-; RUN: opt %loadPolly -basicaa -polly-codegen -enable-polly-vector -enable-polly-grouped-unroll -S %s | FileCheck -check-prefix=UNROLL %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-codegen -polly-vectorizer=unroll-only -S %s | FileCheck -check-prefix=UNROLL %s
 ; RUN: opt %loadPolly %defaultOpts -polly-import-jscop -polly-import-jscop-dir=%S -polly-cloog -analyze   %s | FileCheck -check-prefix=IMPORT %s
-; RUN: opt %loadPolly %defaultOpts -polly-import-jscop -polly-import-jscop-dir=%S -polly-codegen  %s -S  -enable-polly-vector | FileCheck -check-prefix=CODEGEN %s
+; RUN: opt %loadPolly %defaultOpts -polly-import-jscop -polly-import-jscop-dir=%S -polly-codegen  %s -S  %vector-opt | FileCheck -check-prefix=CODEGEN %s
 ; ModuleID = 'simple_vec_stride_one.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/CodeGen/simple_vec_stride_x.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_stride_x.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_stride_x.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_stride_x.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector  -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt  -dce -S %s | FileCheck %s
 ; ModuleID = 'simple_vec_stride_x.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/CodeGen/simple_vec_two_stmts.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/simple_vec_two_stmts.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/simple_vec_two_stmts.ll (original)
+++ polly/trunk/test/CodeGen/simple_vec_two_stmts.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
+; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %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"
 

Modified: polly/trunk/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll (original)
+++ polly/trunk/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll Sun May  6 05:22:43 2012
@@ -1,5 +1,5 @@
 ; RUN: opt %loadPolly -polly-opt-isl -polly-cloog -analyze %s -S | FileCheck %s
-; RUN: opt %loadPolly -polly-opt-isl -polly-cloog -analyze -enable-polly-vector %s -S | FileCheck %s -check-prefix=VECTOR
+; RUN: opt %loadPolly -polly-opt-isl -polly-cloog -analyze %vector-opt %s -S | FileCheck %s -check-prefix=VECTOR
 
 
 target datalayout =

Modified: polly/trunk/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll (original)
+++ polly/trunk/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll Sun May  6 05:22:43 2012
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-opt-isl -enable-polly-vector %s
+; RUN: opt %loadPolly -basicaa -polly-opt-isl %vector-opt %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/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/lit.site.cfg.in?rev=156255&r1=156254&r2=156255&view=diff
==============================================================================
--- polly/trunk/test/lit.site.cfg.in (original)
+++ polly/trunk/test/lit.site.cfg.in Sun May  6 05:22:43 2012
@@ -29,6 +29,7 @@
 config.substitutions.append(('%defaultOpts', ' -basicaa -polly-prepare -polly-region-simplify'))
 config.substitutions.append(('%polybenchOpts', ' -O3 -loop-simplify -indvars '))
 config.substitutions.append(('%EatErrOnX86', EAT_ERR_ON_X86))
+config.substitutions.append(('%vector-opt', '-polly-vectorizer=polly'))
 
 # Let the main config do the real work.
 lit.load_config(config, "@POLLY_SOURCE_DIR@/test/lit.cfg")





More information about the llvm-commits mailing list