projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Checkin of autoconf-style object root.
[oota-llvm.git]
/
test
/
CBackend
/
2003-06-23-PromotedExprs.llx
1
2
; RUN: as < %s | dis -c > f1.cbe.c
3
; RUN: gcc -B/usr/bin/ f1.cbe.c -o f1.cbe
4
; RUN: ./f1.cbe
5
6
bool %doTest(ubyte %x) {
7
%dec.0 = add ubyte %x, 255
8
%tmp.1001 = cast ubyte %dec.0 to bool
9
ret bool %tmp.1001
10
}
11
12
int %main () {
13
%result = call bool %doTest(ubyte 1)
14
%p = cast bool %result to int
15
ret int %p
16
}