[clang] [llvm] [HLSL] Implement `rsqrt` intrinsic (PR #84820)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 11 13:06:54 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 2a3f27cce8983e5d6871b9ebb8f5e9dd91884f0c 52077bb038cdd20a501ada658ec99ae0ac446c8c -- clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Headers/hlsl/hlsl_intrinsics.h clang/lib/Sema/SemaChecking.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Headers/hlsl/hlsl_intrinsics.h b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
index f88aa4a5d5..71238a4f26 100644
--- a/clang/lib/Headers/hlsl/hlsl_intrinsics.h
+++ b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -1158,8 +1158,8 @@ double4 rcp(double4);
//===----------------------------------------------------------------------===//
/// \fn T rsqrt(T x)
-/// \brief RReturns the reciprocal of the square root of the specified value \a x.
-/// \param x The specified input value.
+/// \brief RReturns the reciprocal of the square root of the specified value \a
+/// x. \param x The specified input value.
///
/// This function uses the following formula: 1 / sqrt(x).
``````````
</details>
https://github.com/llvm/llvm-project/pull/84820
More information about the cfe-commits
mailing list