projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Port a shift-by-1 optimization from LegalizeDAG: it
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2008-07-11-SHLBy1.ll
1
; RUN: llvm-as < %s | llc -march=x86-64 -o - | not grep shr
2
define i128 @sl(i128 %x) {
3
%t = shl i128 %x, 1
4
ret i128 %t
5
}