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

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 09:37:41 PDT 2024


================
@@ -1645,6 +1645,18 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
       return true;
     break;
   }
+  case Builtin::BI__builtin_elementwise_fmod: {
----------------
farzonl wrote:

 Delete this case block. Move Builtin::BI__builtin_elementwise_fmod` to where we handle just the half float check. There should be a whole block of none HLSL elementwise cases. I dropped a link to it in a different chat


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


More information about the cfe-commits mailing list