[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

Tex Riddell via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 17:27:05 PDT 2024


================
@@ -18952,6 +18955,142 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
         CGM.getHLSLRuntime().getRadiansIntrinsic(), ArrayRef<Value *>{Op0},
         nullptr, "hlsl.radians");
   }
+  case Builtin::BI__builtin_hlsl_splitdouble: {
----------------
tex3d wrote:

This is quite a lot of code in this case of the switch statement, perhaps we could break this out into a static function?

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


More information about the cfe-commits mailing list