repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
CodeGen
/
IA64
/
2005-10-29-shladd.ll
blob
01ef68cc282bfe797df00cc4d31753a64c8fa8d7
1
; this should turn into shladd
2
; RUN: llvm-as < %s | llc -march=ia64 | grep shladd
3
4
define i64 @bogglesmoggle(i64 %X, i64 %Y) {
5
%A = shl i64 %X, 3 ; <i64> [#uses=1]
6
%B = add i64 %A, %Y ; <i64> [#uses=1]
7
ret i64 %B
8
}
9