repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sparse, llvm: Reorganize code generation tests
[smatch.git]
/
validation
/
backend
/
cmp-ops.c
blob
5a89bee79fd83da2a45efa05722c6b32333539bc
1
static int
sete
(
int
x
,
int
y
)
2
{
3
return
x
==
y
;
4
}
5
6
static int
setne
(
int
x
,
int
y
)
7
{
8
return
x
!=
y
;
9
}
10
11
static int
setl
(
int
x
,
int
y
)
12
{
13
return
x
<
y
;
14
}
15
16
static int
setg
(
int
x
,
int
y
)
17
{
18
return
x
>
y
;
19
}
20
21
/*
22
* check-name: Comparison operator code generation
23
* check-command: ./sparsec -c $file -o tmp.o
24
*/