projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Lift alignment restrictions for load/store folding on VINSERTF128/VEXTRACTF128. Fixes...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
imul-lea-2.ll
1
; RUN: llc < %s -march=x86-64 | FileCheck %s
2
3
; CHECK-NOT: imul
4
5
define i64 @t1(i64 %a) nounwind readnone {
6
entry:
7
%0 = mul i64 %a, 81
8
; CHECK: lea
9
; CHECK: lea
10
ret i64 %0
11
}
12
13
define i64 @t2(i64 %a) nounwind readnone {
14
entry:
15
%0 = mul i64 %a, 40
16
; CHECK: shl
17
; CHECK: lea
18
ret i64 %0
19
}