1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple aarch64-unknown-unknown -mattr=+fullfp16 | FileCheck %s
4 define half @test_vrecpeh_f16(half %a) #0 {
5 ; CHECK-LABEL: test_vrecpeh_f16:
7 ; CHECK-NEXT: frecpe h0, h0
9 %r = call half @llvm.aarch64.neon.frecpe.f16(half %a)
13 define half @test_vrecpxh_f16(half %a) #0 {
14 ; CHECK-LABEL: test_vrecpxh_f16:
16 ; CHECK-NEXT: frecpx h0, h0
18 %r = call half @llvm.aarch64.neon.frecpx.f16(half %a)
22 define half @test_vrsqrteh_f16(half %a) #0 {
23 ; CHECK-LABEL: test_vrsqrteh_f16:
25 ; CHECK-NEXT: frsqrte h0, h0
27 %r = call half @llvm.aarch64.neon.frsqrte.f16(half %a)
31 declare half @llvm.aarch64.neon.frecpe.f16(half %a) #0
32 declare half @llvm.aarch64.neon.frecpx.f16(half %a) #0
33 declare half @llvm.aarch64.neon.frsqrte.f16(half %a) #0