[llvm-commits] [llvm] r91062 - /llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
Chris Lattner
clattner at apple.com
Thu Dec 10 15:56:12 PST 2009
Awesome, nice testcase!
On Dec 10, 2009, at 1:11 PM, Eric Christopher wrote:
> Author: echristo
> Date: Thu Dec 10 15:11:40 2009
> New Revision: 91062
>
> URL: http://llvm.org/viewvc/llvm-project?rev=91062&view=rev
> Log:
> Add a test for the fix in revision 91009.
>
> Added:
> llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
>
> Added: llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll?rev=91062&view=auto
>
> ==============================================================================
> --- llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll (added)
> +++ llvm/trunk/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll Thu Dec 10 15:11:40 2009
> @@ -0,0 +1,20 @@
> +; RUN: opt < %s -licm -disable-output
> +define void @foo (i8* %v)
> +{
> + entry:
> + br i1 undef, label %preheader, label %return
> +
> + preheader:
> + br i1 undef, label %loop, label %return
> +
> + loop:
> + indirectbr i8* undef, [label %preheader, label %stuff]
> +
> + stuff:
> + %0 = load i8* undef, align 1
> + br label %loop
> +
> + return:
> + ret void
> +
> +}
> \ No newline at end of file
>
>
> _______________________________________________
> 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