[polly] r179183 - fix testcase

Sebastian Pop spop at codeaurora.org
Wed Apr 10 09:44:08 PDT 2013


Author: spop
Date: Wed Apr 10 11:44:08 2013
New Revision: 179183

URL: http://llvm.org/viewvc/llvm-project?rev=179183&view=rev
Log:
fix testcase

Added:
    polly/trunk/test/ScopInfo/isl_aff_out_of_bounds.ll
      - copied, changed from r179163, polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll
Removed:
    polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll

Removed: polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll?rev=179182&view=auto
==============================================================================
--- polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll (original)
+++ polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll (removed)
@@ -1,40 +0,0 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen-isl -polly-codegen-scev %s
-
-; Used to fail with:
-; ../../isl/isl_aff.c:591: position out of bounds
-
-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"
-
-declare double @frexp(double)
-
-define void @vorbis_lsp_to_curve(float* %lsp, i32 %m) {
-entry:
-  %q.1.reg2mem = alloca float, align 4
-  br i1 undef, label %do.body, label %while.end
-
-do.body:                                          ; preds = %do.body, %entry
-  %ftmp.0 = phi float* [ %add.ptr, %do.body ], [ %lsp, %entry ]
-  %add.ptr = getelementptr inbounds float* %ftmp.0, i64 2
-  br i1 true, label %do.end, label %do.body
-
-do.end:                                           ; preds = %do.body
-  br i1 false, label %if.end.single_exit, label %if.then
-
-if.then:                                          ; preds = %do.end
-  %0 = load float* %add.ptr, align 4
-  store float %0, float* %q.1.reg2mem, align 4
-  br label %if.end.single_exit
-
-if.end.single_exit:                               ; preds = %do.end, %if.then
-  br label %if.end
-
-if.end:                                           ; preds = %if.end.single_exit
-  %q.1.reload = load float* %q.1.reg2mem, align 4
-  %conv31 = fpext float %q.1.reload to double
-  %call32 = call double @frexp(double %conv31)
-  unreachable
-
-while.end:                                        ; preds = %entry
-  ret void
-}

Copied: polly/trunk/test/ScopInfo/isl_aff_out_of_bounds.ll (from r179163, polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/isl_aff_out_of_bounds.ll?p2=polly/trunk/test/ScopInfo/isl_aff_out_of_bounds.ll&p1=polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll&r1=179163&r2=179183&rev=179183&view=diff
==============================================================================
--- polly/trunk/test/ScopDetect/isl_aff_out_of_bounds.ll (original)
+++ polly/trunk/test/ScopInfo/isl_aff_out_of_bounds.ll Wed Apr 10 11:44:08 2013
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-codegen-isl -polly-codegen-scev %s
+; RUN: opt %loadPolly -basicaa -polly-detect %s
 
 ; Used to fail with:
 ; ../../isl/isl_aff.c:591: position out of bounds





More information about the llvm-commits mailing list