[llvm] [NVPTX] deprecate nvvm.rotate.* intrinsics, cleanup funnel-shift handeling (PR #107655)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 16:07:23 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 660cc98647677815a3f5d97d00220071d8cf7a4f 3747c17c0ce01754283ec15bfd6124cf1b6440d2 --extensions cpp -- llvm/lib/IR/AutoUpgrade.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/IR/AutoUpgrade.cpp b/llvm/lib/IR/AutoUpgrade.cpp
index 2b8e93dff4..4d97d15f5c 100644
--- a/llvm/lib/IR/AutoUpgrade.cpp
+++ b/llvm/lib/IR/AutoUpgrade.cpp
@@ -4305,7 +4305,7 @@ void llvm::UpgradeIntrinsicCall(CallBase *CI, Function *NewFn) {
 
     if (!IsX86 && Name == "stackprotectorcheck") {
       Rep = nullptr;
-    } else if (IsNVVM){
+    } else if (IsNVVM) {
       Rep = upgradeNVVMIntrinsicCall(Name, CI, F, Builder);
     } else if (IsX86) {
       Rep = upgradeX86IntrinsicCall(Name, CI, F, Builder);

``````````

</details>


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


More information about the llvm-commits mailing list