diff options
Diffstat (limited to 'test/CodeGen/R600/fpext.ll')
-rw-r--r-- | test/CodeGen/R600/fpext.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/R600/fpext.ll b/test/CodeGen/R600/fpext.ll new file mode 100644 index 0000000000000..143ee79fa1515 --- /dev/null +++ b/test/CodeGen/R600/fpext.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s --check-prefix=CHECK + +; CHECK: @fpext +; CHECK: V_CVT_F64_F32_e32 +define void @fpext(double addrspace(1)* %out, float %in) { + %result = fpext float %in to double + store double %result, double addrspace(1)* %out + ret void +} |