source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/storetrunc-fp.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 168 bytes
Line 
1; RUN: llc < %s
2
3define 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}
Note: See TracBrowser for help on using the repository browser.