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
Handle logical shift right (at least I hope so :) )
[llvm/msp430.git]
/
test
/
CodeGen
/
Generic
/
storetrunc-fp.ll
blob
710a9907e0183df2b34c95601ecd1a6eb8f76dea
1
; RUN: llvm-as < %s | llc
2
3
define void @foo(double %a, double %b, float* %fp) {
4
%c = add double %a, %b
5
%d = fptrunc double %c to float
6
store float %d, float* %fp
7
ret void
8
}