[llvm-commits] CVS: llvm/test/CodeGen/X86/ispositive.ll

Chris Lattner clattner at apple.com
Sun Apr 29 22:29:17 PDT 2007


Reid, why are you duplicating these tests?

-Chris

On Apr 29, 2007, at 10:12 PM, Reid Spencer wrote:

>
>
> Changes in directory llvm/test/CodeGen/X86:
>
> ispositive.ll added (r1.1)
> ---
> Log message:
>
> For PR1370: http://llvm.org/PR1370 :
> Rearrange some tests so that if PowerPC is not being built we don't  
> try to
> run PowerPC specific tests.
>
>
> ---
> Diffs of the changes:  (+9 -0)
>
>  ispositive.ll |    9 +++++++++
>  1 files changed, 9 insertions(+)
>
>
> Index: llvm/test/CodeGen/X86/ispositive.ll
> diff -c /dev/null llvm/test/CodeGen/X86/ispositive.ll:1.1
> *** /dev/null	Mon Apr 30 00:12:08 2007
> --- llvm/test/CodeGen/X86/ispositive.ll	Mon Apr 30 00:11:58 2007
> ***************
> *** 0 ****
> --- 1,9 ----
> + ; RUN: llvm-as < %s | llc -march=x86 | grep {shrl.*31}
> +
> + define i32 @test1(i32 %X) {
> + entry:
> +         icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
> +         zext i1 %0 to i32               ; <i32>:1 [#uses=1]
> +         ret i32 %1
> + }
> +
>
>
>
> _______________________________________________
> 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