[llvm] [SPIRV] Added support for the constrained arithmetic intrinsic (PR #157441)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 8 06:01:29 PDT 2025
================
@@ -32,6 +35,7 @@ entry:
%r4 = tail call float @llvm.experimental.constrained.fmul.f32(float %a, float %a, metadata !"round.downward", metadata !"fpexcept.strict")
%r5 = tail call float @llvm.experimental.constrained.fma.f32(float %a, float %a, float %a, metadata !"round.dynamic", metadata !"fpexcept.strict")
%r6 = tail call float @llvm.experimental.constrained.frem.f32(float %a, float %a, metadata !"round.dynamic", metadata !"fpexcept.strict")
+ %r7 = tail call float @llvm.experimental.constrained.fmuladd.f32(float %a, float %a, float %a, metadata !"round.dynamic", metadata !"fpexcept.strict")
----------------
arsenm wrote:
This style of test is annoying to maintain, have one case per function. Also test more types, like vectors
https://github.com/llvm/llvm-project/pull/157441
More information about the llvm-commits
mailing list