[llvm] [RISCV][CHERIoT] Define ABI_CHERIOT. (PR #192929)

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 06:07:44 PDT 2026


================
@@ -72,11 +73,15 @@ ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits,
     errs() << "64-bit ABIs are not supported for 32-bit targets (ignoring "
               "target-abi)\n";
     TargetABI = ABI_Unknown;
-  } else if (!IsRV64 && IsRVE && TargetABI != ABI_ILP32E &&
+  } else if (!IsRV64 && IsRVE && !IsXCheriot && TargetABI != ABI_ILP32E &&
              TargetABI != ABI_Unknown) {
     // TODO: move this checking to RISCVTargetLowering and RISCVAsmParser
-    errs()
-        << "Only the ilp32e ABI is supported for RV32E (ignoring target-abi)\n";
+    errs() << "Only the ilp32e ABIs are supported for RV32E "
+              "(ignoring target-abi)\n";
----------------
resistor wrote:

Done. Formatting restored to the original, module what clang-format insists on. Went ahead and squashed/rebased.

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


More information about the llvm-commits mailing list