[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/branch.ll
Rafael Espindola
rafael.espindola at gmail.com
Thu Aug 24 06:46:11 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
branch.ll added (r1.1)
---
Log message:
initial support for branches
---
Diffs of the changes: (+13 -0)
branch.ll | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/Regression/CodeGen/ARM/branch.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/branch.ll:1.1
*** /dev/null Thu Aug 24 08:46:05 2006
--- llvm/test/Regression/CodeGen/ARM/branch.ll Thu Aug 24 08:45:55 2006
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ void %f(int %a, int* %v) {
+ entry:
+ %tmp = seteq int %a, 0 ; <bool> [#uses=1]
+ br bool %tmp, label %cond_true, label %return
+
+ cond_true: ; preds = %entry
+ store int 0, int* %v
+ ret void
+
+ return: ; preds = %entry
+ ret void
+ }
More information about the llvm-commits
mailing list