[clang] [HLSL] Implementation of the fmod intrinsic (PR #108849)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 13:33:00 PDT 2024
================
@@ -0,0 +1,38 @@
+
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected
+
+float test_too_few_arg() {
----------------
farzonl wrote:
These test cases are fine, but the only two I was expecting was that `double` exclusion error defined via `CheckFloatOrHalfRepresentations` and the # of function args check defined in `clang/lib/Sema/SemaHLSL.cpp`.
Seems like the double exclusion is missing.
https://github.com/llvm/llvm-project/pull/108849
More information about the cfe-commits
mailing list