repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
apint-cast-and-cast.ll
blob
251d78f59bee5dfb327f802fe5cff9a3d936e1f4
1
; RUN: opt < %s -instcombine -S | not grep bitcast
2
3
define i19 @test1(i43 %val) {
4
%t1 = bitcast i43 %val to i43
5
%t2 = and i43 %t1, 1
6
%t3 = trunc i43 %t2 to i19
7
ret i19 %t3
8
}
9
10
define i73 @test2(i677 %val) {
11
%t1 = bitcast i677 %val to i677
12
%t2 = and i677 %t1, 1
13
%t3 = trunc i677 %t2 to i73
14
ret i73 %t3
15
}