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

and-branch.ll added (r1.1)
---
Log message:

new testcase


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

 and-branch.ll |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/and-branch.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/and-branch.ll:1.1
*** /dev/null   Fri Oct 27 16:52:49 2006
--- llvm/test/Regression/CodeGen/PowerPC/and-branch.ll  Fri Oct 27 16:52:39 2006
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 &&
+ ; RUN: llvm-as < %s | llc -march=ppc32 | not grep mfcr
+ 
+ void %foo(int %X, int %Y, int %Z) {
+ entry:
+       %tmp = seteq int %X, 0          ; <bool> [#uses=1]
+       %tmp3 = setlt int %Y, 5         ; <bool> [#uses=1]
+       %tmp4 = and bool %tmp3, %tmp            ; <bool> [#uses=1]
+       br bool %tmp4, label %cond_true, label %UnifiedReturnBlock
+ 
+ cond_true:            ; preds = %entry
+       %tmp5 = tail call int (...)* %bar( )            ; <int> [#uses=0]
+       ret void
+ 
+ UnifiedReturnBlock:           ; preds = %entry
+       ret void
+ }
+ 
+ declare int %bar(...)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to