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
[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git]
/
test
/
CodeGen
/
Generic
/
storetrunc-fp.ll
blob
7f7c7f71b3adfc4a026b58139397416e07c95170
1
; RUN: llc < %s
2
3
define void @foo(double %a, double %b, float* %fp) {
4
%c = fadd double %a, %b
5
%d = fptrunc double %c to float
6
store float %d, float* %fp
7
ret void
8
}