llvm-6502/test/CodeGen/ARM/branch.ll

14 lines
263 B
LLVM
Raw Normal View History

; 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
}