repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
apint-shl-trunc.ll
blob
8163e6d527d77f399149555798d29ec2e91625a3
1
; RUN: opt < %s -instcombine -S | grep shl
2
; END.
3
4
define i1 @test0(i39 %X, i39 %A) {
5
%B = lshr i39 %X, %A
6
%D = trunc i39 %B to i1
7
ret i1 %D
8
}
9
10
define i1 @test1(i799 %X, i799 %A) {
11
%B = lshr i799 %X, %A
12
%D = trunc i799 %B to i1
13
ret i1 %D
14
}