[llvm] [SPIRV] Implement translation for llvm.modf.* intrinsics (PR #147556)
Marcos Maronas via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 08:53:30 PDT 2025
================
@@ -337,3 +337,25 @@ entry:
}
declare float @llvm.fma.f32(float, float, float)
+
+; CHECK: OpFunction
+; CHECK: %[[#d:]] = OpFunctionParameter %[[#]]
+; CHECK: %[[#fracPtr:]] = OpFunctionParameter %[[#]]
+; CHECK: %[[#integralPtr:]] = OpFunctionParameter %[[#]]
+; CHECK: %[[#varPtr:]] = OpVariable %[[#]] Function
----------------
maarquitos14 wrote:
Thanks for catching this! I assumed the test had a spirv-val check already, but it didn't.
https://github.com/llvm/llvm-project/pull/147556
More information about the llvm-commits
mailing list