[COMMIT][1] lit.site.cfg.in: Move -polly-prepare to %defaultOpts and fix the testcase.

0 views
Skip to first unread message

ether

unread,
Apr 5, 2011, 6:38:06 AM4/5/11
to polly-...@googlegroups.com

commit 3fa5b6f6c542913cf8d6e292dc28b50a9a2d77eb
Author: ether <ethe...@gmail.com>
Date: Tue Apr 5 18:35:37 2011 +0800

lit.site.cfg.in: Move -polly-prepare to %defaultOpts and fix the testcase.

diff --git a/test/CodeGen/simple_vec_stride_one.ll b/test/CodeGen/simple_vec_stride_one.ll
index 2bd06e9..57d5504 100644
--- a/test/CodeGen/simple_vec_stride_one.ll
+++ b/test/CodeGen/simple_vec_stride_one.ll
@@ -41,7 +41,7 @@ define i32 @main() nounwind {

; CHECK: bitcast float* {{.*}} to <4 x float>*
; CHECK: load <4 x float>*
-; CHECK: store <4 x float> %_p_vec_full, <4 x float>* %vector_ptr7
+; CHECK: store <4 x float> %_p_vec_full, <4 x float>* %vector_ptr

; IMPORT: for (c2=0;c2<=12;c2+=4) {
; IMPORT: Stmt_2(c2/4);
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index fad2592..ecf977e 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -19,8 +19,8 @@ except KeyError,e:

config.substitutions.append(('%loadPolly', '-load '
+ config.llvm_libs_dir + '/LLVMPolly.so '))
-config.substitutions.append(('%defaultOpts', ' -basicaa -scev-aa '))
-config.substitutions.append(('%polybenchOpts', ' -O3 -loop-simplify -indvars -polly-prepare '))
+config.substitutions.append(('%defaultOpts', ' -polly-prepare -basicaa -scev-aa '))
+config.substitutions.append(('%polybenchOpts', ' -O3 -loop-simplify -indvars '))

# Let the main config do the real work.
lit.load_config(config, "@POLLY_SOURCE_DIR@/test/lit.cfg")

Reply all
Reply to author
Forward
0 new messages