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
/
2008-02-23-MulSub.ll
blob
bb21c4b034176bbb568fb267f7e45ca6d6f93986
1
; RUN: opt < %s -instcombine -S | not grep mul
2
3
define i26 @test(i26 %a) nounwind {
4
entry:
5
%_add = mul i26 %a, 2885 ; <i26> [#uses=1]
6
%_shl2 = mul i26 %a, 2884 ; <i26> [#uses=1]
7
%_sub = sub i26 %_add, %_shl2 ; <i26> [#uses=1]
8
ret i26 %_sub
9
}