projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rename the table
[oota-llvm.git]
/
test
/
ExecutionEngine
/
2003-01-09-SARTest.ll
1
; RUN: llvm-as -f %s -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
; We were accidentally inverting the signedness of right shifts. Whoops.
5
6
int %main() {
7
%X = shr int -1, ubyte 16
8
%Y = shr int %X, ubyte 16
9
%Z = add int %Y, 1
10
ret int %Z
11
}