xref: /llvm-project/llvm/test/CodeGen/AArch64/strict-fp-func.ll (revision c4e38fadfa2a615467a8c9071f12edc4cdce5eb8)
1; RUN: llc -mtriple aarch64-none-linux-gnu -stop-after=finalize-isel %s -o - | FileCheck %s
2
3define float @func_02(float %x, float %y) strictfp nounwind {
4  %call = call float @func_01(float %x) strictfp
5  %res = call float @llvm.experimental.constrained.fadd.f32(float %call, float %y, metadata !"round.dynamic", metadata !"fpexcept.ignore") strictfp
6  ret float %res
7}
8; CHECK-LABEL: name: func_02
9; CHECK:       BL @func_01, {{.*}}, implicit-def $fpcr
10
11
12declare float @func_01(float)
13declare float @llvm.experimental.constrained.fadd.f32(float, float, metadata, metadata)
14