[llvm-branch-commits] [llvm] b92bf0d - [RISCV] Disable clang-format around the RISCVISD opcode enum. NFC
Craig Topper via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 30 09:15:20 PST 2023
Author: Craig Topper
Date: 2023-11-29T14:01:30-08:00
New Revision: b92bf0dad6ec9760e008a0fa22d7dbd0b045c776
URL: https://github.com/llvm/llvm-project/commit/b92bf0dad6ec9760e008a0fa22d7dbd0b045c776
DIFF: https://github.com/llvm/llvm-project/commit/b92bf0dad6ec9760e008a0fa22d7dbd0b045c776.diff
LOG: [RISCV] Disable clang-format around the RISCVISD opcode enum. NFC
Added:
Modified:
llvm/lib/Target/RISCV/RISCVISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.h b/llvm/lib/Target/RISCV/RISCVISelLowering.h
index 45200b54595a0b9..486efeb8339ab0b 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.h
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.h
@@ -25,7 +25,9 @@ namespace llvm {
class InstructionCost;
class RISCVSubtarget;
struct RISCVRegisterInfo;
+
namespace RISCVISD {
+// clang-format off
enum NodeType : unsigned {
FIRST_NUMBER = ISD::BUILTIN_OP_END,
RET_GLUE,
@@ -421,6 +423,7 @@ enum NodeType : unsigned {
TH_SWD,
TH_SDD,
};
+// clang-format on
} // namespace RISCVISD
class RISCVTargetLowering : public TargetLowering {
More information about the llvm-branch-commits
mailing list