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

Evan Cheng evan.cheng at apple.com
Wed May 9 12:20:57 PDT 2007



Changes in directory llvm/test/CodeGen/PowerPC:

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

PR1399: http://llvm.org/PR1399  test case.

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

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


Index: llvm/test/CodeGen/PowerPC/hello.ll
diff -c /dev/null llvm/test/CodeGen/PowerPC/hello.ll:1.1
*** /dev/null	Wed May  9 14:20:47 2007
--- llvm/test/CodeGen/PowerPC/hello.ll	Wed May  9 14:20:37 2007
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32
+ ; RUN: llvm-as < %s | llc -march=ppc64
+ ; PR1399
+ 
+ @.str = internal constant [13 x i8] c"Hello World!\00"
+ 
+ define i32 @main() {
+ 	%tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8]* @.str, i32 0, i64 0) )
+ 	ret i32 0
+ }
+ 
+ declare i32 @puts(i8*)






More information about the llvm-commits mailing list