repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Indentation change.
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
add-sitofp.ll
blob
298b9a1917afddad5c573027e66dd2ce3a10084c
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add i32}
2
3
define double @x(i32 %a, i32 %b) nounwind {
4
%m = lshr i32 %a, 24
5
%n = and i32 %m, %b
6
%o = sitofp i32 %n to double
7
%p = fadd double %o, 1.0
8
ret double %p
9
}