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] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
2006-03-02-InstrSchedBug.ll
blob
ece16192566dd1ab532c01feead66bb2f53b883e
1
; REQUIRES: asserts
2
; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | FileCheck %s
3
; CHECK: 7 asm-printer
4
5
define i32 @g(i32 %a, i32 %b) nounwind {
6
entry:
7
%tmp.1 = shl i32 %b, 1
8
%tmp.3 = add i32 %tmp.1, %a
9
%tmp.5 = mul i32 %tmp.3, %a
10
%tmp.8 = mul i32 %b, %b
11
%tmp.9 = add i32 %tmp.5, %tmp.8
12
ret i32 %tmp.9
13
}
14