xref: /llvm-project/llvm/test/CodeGen/X86/GlobalISel/fpext-scalar.ll (revision 25528d6de70e98683722e28655d8568d5f09b5c7)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=CHECK
3
4define double @test(float %a) {
5; CHECK-LABEL: test:
6; CHECK:       # %bb.0: # %entry
7; CHECK-NEXT:    cvtss2sd %xmm0, %xmm0
8; CHECK-NEXT:    retq
9entry:
10  %conv = fpext float %a to double
11  ret double %conv
12}
13