[llvm] [RISCV][GlobalISel] Select G_GLOBAL_VALUE (PR #70091)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 13:12:01 PDT 2023


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 717946f9eb0a3c9c5d9c71b80bf086addad47475 64daec66e4d03d0a002d3973bc25dd7cedf312e8 -- llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
index dc7aaeb3a90e..8331cb58a099 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
@@ -38,7 +38,7 @@ public:
 
 protected:
   const TargetPassConfig *TPC = nullptr;
-  MachineOptimizationRemarkEmitter  *MORE = nullptr;
+  MachineOptimizationRemarkEmitter *MORE = nullptr;
 };
 } // namespace llvm
 

``````````

</details>


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


More information about the llvm-commits mailing list