From 687bc49d1ada3fe0a2cd3fb5c044f12d267f259f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 24 Aug 2006 13:45:55 +0000 Subject: initial support for branches git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29854 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/branch.ll | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/CodeGen/ARM/branch.ll (limited to 'test') diff --git a/test/CodeGen/ARM/branch.ll b/test/CodeGen/ARM/branch.ll new file mode 100644 index 0000000000..21e43127c3 --- /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 ; [#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 +} -- cgit v1.2.3