projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Generic expansion for atomic load/store into cmpxchg/atomicrmw xchg; implements 64...
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
ifcvt1.ll
1
; RUN: llc < %s -march=arm -mattr=+v4t
2
; RUN: llc < %s -march=arm -mattr=+v4t | grep bx | count 1
3
4
define i32 @t1(i32 %a, i32 %b) {
5
%tmp2 = icmp eq i32 %a, 0
6
br i1 %tmp2, label %cond_false, label %cond_true
7
8
cond_true:
9
%tmp5 = add i32 %b, 1
10
ret i32 %tmp5
11
12
cond_false:
13
%tmp7 = add i32 %b, -1
14
ret i32 %tmp7
15
}