[clang] [HLSL] Implementation of the fmod intrinsic (PR #108849)

Zhengxing li via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 13:14:25 PDT 2024


================
@@ -18709,6 +18709,25 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned BuiltinID,
         CGM.getHLSLRuntime().getNormalizeIntrinsic(), ArrayRef<Value *>{X},
         nullptr, "hlsl.normalize");
   }
+  case Builtin::BI__builtin_hlsl_elementwise_fmod: {
----------------
lizhengxing wrote:

Done.

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


More information about the cfe-commits mailing list