[clang] Implementing `asfloat` using `bit_cast` (PR #108686)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 14 08:51:06 PDT 2024
================
@@ -361,6 +361,23 @@ bool any(double3);
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_any)
bool any(double4);
+//===----------------------------------------------------------------------===//
+// asfloat builtins
+//===----------------------------------------------------------------------===//
+
+/// \fn uint asfloat(T Val)
+/// \brief Interprets the bit pattern of x as an unsigned integer.
----------------
llvm-beanz wrote:
This looks copy-pasted and not updated.
https://github.com/llvm/llvm-project/pull/108686
More information about the cfe-commits
mailing list