[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/hello.ll

Rafael Espindola rafael.espindola at gmail.com
Fri Aug 4 05:49:00 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/ARM:

hello.ll added (r1.1)
---
Log message:

use a 'register pressure reducing' scheduler
make sure only one move is used in a hello world



---
Diffs of the changes:  (+13 -0)

 hello.ll |   13 +++++++++++++
 1 files changed, 13 insertions(+)


Index: llvm/test/Regression/CodeGen/ARM/hello.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/hello.ll:1.1
*** /dev/null	Fri Aug  4 07:48:53 2006
--- llvm/test/Regression/CodeGen/ARM/hello.ll	Fri Aug  4 07:48:42 2006
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | llc -march=arm &&
+ ; RUN: llvm-as < %s | llc -march=arm | grep mov | wc -l | grep 1
+ %str = internal constant [12 x sbyte] c"Hello World\00"		; <[12 x sbyte]*> [#uses=1]
+ 
+ implementation   ; Functions:
+ 
+ int %main() {
+ entry:
+ 	%tmp = call int %puts( sbyte* getelementptr ([12 x sbyte]* %str, int 0, uint 0) )		; <int> [#uses=0]
+ 	ret int 0
+ }
+ 
+ declare int %puts(sbyte*)






More information about the llvm-commits mailing list