[clang] Implement the `fmod` intrinsic (PR #130320)

Kaitlin Peng via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 7 15:18:08 PST 2025


================
@@ -22,56 +22,144 @@
 //
 // RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
 // RUN:   spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN:   -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN:   -emit-llvm -o - | FileCheck %s \
 // RUN:   -DFNATTRS="spir_func noundef nofpclass(nan inf)" -DTYPE=half
----------------
kmpeng wrote:

Code updated with suggested changes.

https://github.com/llvm/llvm-project/pull/130320


More information about the cfe-commits mailing list