[llvm] [RISCV] Add extension information to RISCVFeatures.td. NFC (PR #89326)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 23:39:16 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 39bfdb7f33f7f53ab662c5cea25129c45a9b4c11 058e6f260483ab4ca5ff782344af12ecf219539c -- llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/RISCVTargetDefEmitter.cpp b/llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
index 95b831799f..897a1b9514 100644
--- a/llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
+++ b/llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
@@ -67,9 +67,8 @@ static void EmitRISCVTargetDef(RecordKeeper &RK, raw_ostream &OS) {
bool FastUnalignedAccess =
FastScalarUnalignedAccess && FastVectorUnalignedAccess;
- OS << "PROC(" << Rec->getName() << ", "
- << "{\"" << Rec->getValueAsString("Name") << "\"}, "
- << "{\"";
+ OS << "PROC(" << Rec->getName() << ", " << "{\""
+ << Rec->getValueAsString("Name") << "\"}, " << "{\"";
StringRef MArch = Rec->getValueAsString("DefaultMarch");
``````````
</details>
https://github.com/llvm/llvm-project/pull/89326
More information about the llvm-commits
mailing list