[llvm] [VirtRegMap] Remove unused MAX_STACK_SLOT. NFC (PR #108781)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 16:14:04 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 40e8e4ddcb7d48f404223e863e5db38fff75cad2 bf11b36fae318ee8e21575d8190c3486ef2b7345 --extensions h -- llvm/include/llvm/CodeGen/VirtRegMap.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGen/VirtRegMap.h b/llvm/include/llvm/CodeGen/VirtRegMap.h
index dee462255b..1ad181046d 100644
--- a/llvm/include/llvm/CodeGen/VirtRegMap.h
+++ b/llvm/include/llvm/CodeGen/VirtRegMap.h
@@ -33,7 +33,7 @@ class TargetInstrInfo;
   class VirtRegMap : public MachineFunctionPass {
   public:
     enum {
-      NO_STACK_SLOT = (1L << 30)-1,
+      NO_STACK_SLOT = (1L << 30) - 1,
     };
 
   private:

``````````

</details>


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


More information about the llvm-commits mailing list