initial support for branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29854 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/ARM/branch.ll b/test/CodeGen/ARM/branch.ll
new file mode 100644
index 0000000..21e4312
--- /dev/null
+++ b/test/CodeGen/ARM/branch.ll
@@ -0,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
+}