[llvm] [NVPTX] Improve support for rsqrt.approx (PR #89417)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 16:32:31 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 5e5b8c49096afba8e4e0fd094a5ab905a9acced0 315e3ec8b2b208276227a5e43931e640624f085d -- llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
index a2582c551d..806431be7f 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
@@ -32,7 +32,7 @@ using namespace llvm;
static cl::opt<bool>
EnableRsqrtOpt("nvptx-rsqrt-approx-opt", cl::init(true), cl::Hidden,
- cl::desc("Enable reciprocal sqrt optimization"));
+ cl::desc("Enable reciprocal sqrt optimization"));
/// createNVPTXISelDag - This pass converts a legalized DAG into a
/// NVPTX-specific DAG, ready for instruction scheduling.
``````````
</details>
https://github.com/llvm/llvm-project/pull/89417
More information about the llvm-commits
mailing list