projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Really feed llvm-as with the testcase, do not let it read from stdin. This fixes...
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-02-23-MulSub.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
2
3
define i26 @mul_283(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
}