diff options
Diffstat (limited to 'test/CodeGen/ARM/branch.ll')
-rw-r--r-- | test/CodeGen/ARM/branch.ll | 13 |
1 files changed, 13 insertions, 0 deletions
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 ; <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 +} |