bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/GlobalISel/fpext-scalar.ll
2025-02-14 19:21:04 +01:00

12 lines
407 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=CHECK
define double @test(float %a) {
; CHECK-LABEL: test:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: cvtss2sd %xmm0, %xmm0
; CHECK-NEXT: retq
entry:
%conv = fpext float %a to double
ret double %conv
}