llvm/llvm/test/CodeGen/RISCV/pr58025.ll

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=riscv64 | FileCheck %s

define void @f() {
; CHECK-LABEL: f:
; CHECK:       # %bb.0: # %BB
; CHECK-NEXT:    lui a0, 260096
; CHECK-NEXT:    addi sp, sp, -16
; CHECK-NEXT:    .cfi_def_cfa_offset 16
; CHECK-NEXT:    sw a0, 12(sp)
; CHECK-NEXT:    addi sp, sp, 16
; CHECK-NEXT:    ret
BB:
  %B = fdiv <1 x float> <float 0.5>, <float 0.5>
  %PTR = alloca <1 x float>
  br label %BB1

BB1:                                              ; preds = %BB
  store <1 x float> %B, ptr %PTR
  ret void
}