[clang] [HLSL] Implement the `ldexp` intrinsic (PR #138182)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 05:38:38 PDT 2025


================
@@ -303,6 +303,48 @@ fmod(__detail::HLSL_FIXED_VECTOR<float, N> X,
   return __detail::fmod_vec_impl(X, Y);
 }
 
+//===----------------------------------------------------------------------===//
+// ldexp builtins
+//===----------------------------------------------------------------------===//
+
+/// \fn T ldexp(T X, T Exp)
+/// \brief Returns the result of multiplying the specified value by two, raised
----------------
farzonl wrote:

please still make this change

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


More information about the cfe-commits mailing list