; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc -mtriple=riscv64 -mattr=+experimental-zbf -verify-machineinstrs < %s \ ; RUN: | FileCheck %s -check-prefix=RV64ZBF declare i32 @llvm.riscv.bfp.i32(i32 %a, i32 %b) define signext i32 @bfp32(i32 signext %a, i32 signext %b) nounwind { ; RV64ZBF-LABEL: bfp32: ; RV64ZBF: # %bb.0: ; RV64ZBF-NEXT: bfpw a0, a0, a1 ; RV64ZBF-NEXT: ret %tmp = call i32 @llvm.riscv.bfp.i32(i32 %a, i32 %b) ret i32 %tmp } declare i64 @llvm.riscv.bfp.i64(i64 %a, i64 %b) define i64 @bfp64(i64 %a, i64 %b) nounwind { ; RV64ZBF-LABEL: bfp64: ; RV64ZBF: # %bb.0: ; RV64ZBF-NEXT: bfp a0, a0, a1 ; RV64ZBF-NEXT: ret %tmp = call i64 @llvm.riscv.bfp.i64(i64 %a, i64 %b) ret i64 %tmp }