[llvm-commits] CVS: llvm/test/CodeGen/ARM/hello.ll insn-sched1.ll ldm.ll

Reid Spencer rspencer at reidspencer.com
Wed Jan 31 14:41:26 PST 2007


Evan / Lauro, 

I don't know what the issue is, but test/CodeGen/ARM/large-stack.ll is
failing and going into an infinite busy loop in llc. This is preventing
the dejagnu test suite from completing.

Reid.

On Wed, 2007-01-31 at 16:27 -0600, Evan Cheng wrote:
> 
> Changes in directory llvm/test/CodeGen/ARM:
> 
> hello.ll updated: 1.4 -> 1.5
> insn-sched1.ll updated: 1.3 -> 1.4
> ldm.ll updated: 1.4 -> 1.5
> ---
> Log message:
> 
> Fix test cases.
> 
> ---
> Diffs of the changes:  (+11 -10)
> 
>  hello.ll       |   17 +++++++++--------
>  insn-sched1.ll |    2 +-
>  ldm.ll         |    2 +-
>  3 files changed, 11 insertions(+), 10 deletions(-)
> 
> 
> Index: llvm/test/CodeGen/ARM/hello.ll
> diff -u llvm/test/CodeGen/ARM/hello.ll:1.4 llvm/test/CodeGen/ARM/hello.ll:1.5
> --- llvm/test/CodeGen/ARM/hello.ll:1.4	Wed Jan 31 07:12:46 2007
> +++ llvm/test/CodeGen/ARM/hello.ll	Wed Jan 31 16:27:07 2007
> @@ -1,12 +1,13 @@
> -; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
> -; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 &&
> -; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin --disable-fp-elim | grep mov | wc -l | grep 2
> +; RUN: llvm-as < %s | llc -march=arm &&
> +; RUN: llvm-as < %s | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 &&
> +; RUN: llvm-as < %s | llc -mtriple=arm-linux --disable-fp-elim | grep mov | wc -l | grep 2
> +; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep mov | wc -l | grep 2
>  
> -%str = internal constant [12 x sbyte] c"Hello World\00"
> + at str = internal constant [12 x i8] c"Hello World\00"
>  
> -int %main() {
> -	%tmp = call int %puts( sbyte* getelementptr ([12 x sbyte]* %str, int 0, uint 0) )
> -	ret int 0
> +define i32 @main() {
> +	%tmp = call i32 @puts( i8* getelementptr ([12 x i8]* @str, i32 0, i64 0) )		; <i32> [#uses=0]
> +	ret i32 0
>  }
>  
> -declare int %puts(sbyte*)
> +declare i32 @puts(i8*)
> 
> 
> Index: llvm/test/CodeGen/ARM/insn-sched1.ll
> diff -u llvm/test/CodeGen/ARM/insn-sched1.ll:1.3 llvm/test/CodeGen/ARM/insn-sched1.ll:1.4
> --- llvm/test/CodeGen/ARM/insn-sched1.ll:1.3	Wed Jan 31 07:12:46 2007
> +++ llvm/test/CodeGen/ARM/insn-sched1.ll	Wed Jan 31 16:27:07 2007
> @@ -1,5 +1,5 @@
>  ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6 &&
> -; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin -mattr=+v6 --disable-fp-elim | grep mov | wc -l | grep 2
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin -mattr=+v6 | grep mov | wc -l | grep 2
>  
>  int %test(int %x) {
>  	%tmp = cast int %x to short
> 
> 
> Index: llvm/test/CodeGen/ARM/ldm.ll
> diff -u llvm/test/CodeGen/ARM/ldm.ll:1.4 llvm/test/CodeGen/ARM/ldm.ll:1.5
> --- llvm/test/CodeGen/ARM/ldm.ll:1.4	Wed Jan 31 07:12:46 2007
> +++ llvm/test/CodeGen/ARM/ldm.ll	Wed Jan 31 16:27:07 2007
> @@ -1,7 +1,7 @@
>  ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
>  ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmia" | wc -l | grep 2 &&
>  ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmib" | wc -l | grep 1 &&
> -; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin --disable-fp-elim | grep "ldmfd sp\!" | wc -l | grep 3
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | grep "ldmfd sp\!" | wc -l | grep 3
>  
>  %X = external global [0 x int]
>  
> 
> 
> 
> _______________________________________________
> 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