[llvm-commits] [llvm] r77007 - /llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll

Daniel Dunbar daniel at zuster.org
Fri Jul 24 17:19:00 PDT 2009


Hi Evan,

This test is failing in lots of places -- please see the buildbots for
the list. Can you remove it or fix?

 - Daniel

On Fri, Jul 24, 2009 at 3:42 PM, Evan Cheng<evan.cheng at apple.com> wrote:
> Author: evancheng
> Date: Fri Jul 24 17:42:45 2009
> New Revision: 77007
>
> URL: http://llvm.org/viewvc/llvm-project?rev=77007&view=rev
> Log:
> Forgot this test earlier.
>
> Added:
>    llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll
>
> Added: llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll?rev=77007&view=auto
>
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll (added)
> +++ llvm/trunk/test/CodeGen/X86/2009-07-22-LinearScanBug.ll Fri Jul 24 17:42:45 2009
> @@ -0,0 +1,29 @@
> +; RUN: llvm-as < %s | llc -mtriple=i386-pc-mingw32
> +; PR4572
> +
> +       %"struct.std::valarray<unsigned int>" = type { i32, i32* }
> +
> +define void @_ZSt17__gslice_to_indexjRKSt8valarrayIjES2_RS0_(i32 %__o, %"struct.std::valarray<unsigned int>"* nocapture %__l, %"struct.std::valarray<unsigned int>"* nocapture %__s, %"struct.std::valarray<unsigned int>"* nocapture %__i) nounwind {
> +entry:
> +       %0 = alloca i32, i32 undef, align 4             ; <i32*> [#uses=1]
> +       br i1 undef, label %return, label %bb4
> +
> +bb4:           ; preds = %bb7.backedge, %entry
> +       %indvar = phi i32 [ %indvar.next, %bb7.backedge ], [ 0, %entry ]                ; <i32> [#uses=2]
> +       %scevgep24.sum = sub i32 undef, %indvar         ; <i32> [#uses=2]
> +       %scevgep25 = getelementptr i32* %0, i32 %scevgep24.sum          ; <i32*> [#uses=1]
> +       %scevgep27 = getelementptr i32* undef, i32 %scevgep24.sum               ; <i32*> [#uses=1]
> +       %1 = load i32* %scevgep27, align 4              ; <i32> [#uses=0]
> +       br i1 undef, label %bb7.backedge, label %bb5
> +
> +bb5:           ; preds = %bb4
> +       store i32 0, i32* %scevgep25, align 4
> +       br label %bb7.backedge
> +
> +bb7.backedge:          ; preds = %bb5, %bb4
> +       %indvar.next = add i32 %indvar, 1               ; <i32> [#uses=1]
> +       br label %bb4
> +
> +return:                ; preds = %entry
> +       ret void
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list