projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove unused function attribute params.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2004-11-22-Missed-and-fold.ll
1
; RUN: opt < %s -instcombine -S | not grep and
2
3
define i8 @test21(i8 %A) {
4
;; sign extend
5
%C = ashr i8 %A, 7 ; <i8> [#uses=1]
6
;; chop off sign
7
%D = and i8 %C, 1 ; <i8> [#uses=1]
8
ret i8 %D
9
}
10