[clang] [llvm] [RISCV] RISCV vector calling convention (1/2) (PR #77560)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 19:26:16 PST 2024


================
@@ -3439,6 +3439,8 @@ StringRef FunctionType::getNameForCallConv(CallingConv CC) {
   case CC_PreserveAll: return "preserve_all";
   case CC_M68kRTD: return "m68k_rtd";
   case CC_PreserveNone: return "preserve_none";
+  case CC_RISCVVectorCall:
----------------
topperc wrote:

Put this on the same line to match the prevailing style? Add `clang-format off` and `clang-format off` comments around the switch if clang-format gives you trouble.

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


More information about the cfe-commits mailing list