[llvm] [RISCV] Use lookup tables to find CVTFOpc (PR #88742)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 07:51:39 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 1b310c45e914f0a76fa594bebdff44e7a386d4f9 9a1b3f37aad46c5e411d394cf105f997411f16d7 -- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h llvm/lib/Target/RISCV/RISCVISelLowering.cpp llvm/lib/Target/RISCV/RISCVInstrInfo.cpp llvm/lib/Target/RISCV/RISCVInstrInfo.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index 383ca35890..97b4a75242 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -73,14 +73,14 @@ using namespace RISCV;
 #define GET_RISCVVInversePseudosTable_IMPL
 #include "RISCVGenSearchableTables.inc"
 
-} // end namespace RISCVVInversePseudosTable
+} // namespace llvm::RISCVVInversePseudosTable
 
 namespace llvm::RISCV {
 
 #define GET_RISCVMaskedPseudosTable_IMPL
 #include "RISCVGenSearchableTables.inc"
 
-} // end namespace RISCVMaskedPseudosTable
+} // namespace llvm::RISCV
 
 RISCVInstrInfo::RISCVInstrInfo(RISCVSubtarget &STI)
     : RISCVGenInstrInfo(RISCV::ADJCALLSTACKDOWN, RISCV::ADJCALLSTACKUP),

``````````

</details>


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


More information about the llvm-commits mailing list