[PATCH 2/2] lit.site.cfg.in: Move -polly-prepare to %defaultOpts and fix the testcase.

1 view
Skip to first unread message

ether zhhb

unread,
Apr 5, 2011, 6:36:32 AM4/5/11
to polly-commits
---
test/CodeGen/simple_vec_stride_one.ll | 2 +-
test/lit.site.cfg.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

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")
--
1.7.3.3

Reply all
Reply to author
Forward
0 new messages