[llvm] [Exegesis][RISCV] Add initial RVV support (PR #128767)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 12:03:50 PST 2025
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 3968ebd00da80a08de84f83a101ebb23710f6631 a0651b5b9b3af5beb0cce58e5d5c5d147521e918 --extensions h,cpp -- llvm/tools/llvm-exegesis/lib/RISCV/RISCVExegesisPasses.h llvm/tools/llvm-exegesis/lib/RISCV/RISCVExegesisPostprocessing.cpp llvm/tools/llvm-exegesis/lib/RISCV/RISCVExegesisPreprocessing.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp llvm/tools/llvm-exegesis/lib/MCInstrDescView.h llvm/tools/llvm-exegesis/lib/RISCV/Target.cpp llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp llvm/tools/llvm-exegesis/lib/Target.cpp llvm/tools/llvm-exegesis/lib/Target.h llvm/tools/llvm-exegesis/llvm-exegesis.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
index 135aec0c81..275ee0c286 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
@@ -427,13 +427,7 @@ inline static bool isValidRoundingMode(unsigned Mode) {
} // namespace RISCVFPRndMode
namespace RISCVVXRndMode {
-enum RoundingMode {
- RNU = 0,
- RNE = 1,
- RDN = 2,
- ROD = 3,
- Invalid
-};
+enum RoundingMode { RNU = 0, RNE = 1, RDN = 2, ROD = 3, Invalid };
inline static StringRef roundingModeToString(RoundingMode RndMode) {
switch (RndMode) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/128767
More information about the llvm-commits
mailing list