repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
CodeGen
/
CBackend
/
2008-05-31-BoolOverflow.ll
blob
e9fa552433a5f07d032e5068d43ebf8229abbbdb
1
; RUN: llc < %s -march=c | grep {llvm_cbe_t.*&1}
2
define i32 @test(i32 %r) {
3
%s = icmp eq i32 %r, 0
4
%t = add i1 %s, %s
5
%u = zext i1 %t to i32
6
br i1 %t, label %A, label %B
7
A:
8
9
ret i32 %u
10
B:
11
12
%v = select i1 %t, i32 %r, i32 %u
13
ret i32 %v
14
}