]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/R600/fpext.ll
Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / CodeGen / R600 / fpext.ll
1 ; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s --check-prefix=CHECK
2
3 ; CHECK: @fpext
4 ; CHECK: V_CVT_F64_F32_e32
5 define void @fpext(double addrspace(1)* %out, float %in) {
6   %result = fpext float %in to double
7   store double %result, double addrspace(1)* %out
8   ret void
9 }