projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Throttle tail merging; handling blocks with large numbers of predecessors
[oota-llvm.git]
/
test
/
Feature
/
testlogical.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
implementation
6
7
int "simpleAdd"(int %i0, int %j0)
8
begin
9
%t1 = xor int %i0, %j0
10
%t2 = or int %i0, %j0
11
%t3 = and int %t1, %t2
12
ret int %t3
13
end
14