[llvm] [RISCV][CHERIoT] Define ABI_CHERIOT. (PR #192929)
Owen Anderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 00:52:08 PDT 2026
================
@@ -73,7 +73,7 @@ ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits,
"target-abi)\n";
TargetABI = ABI_Unknown;
} else if (!IsRV64 && IsRVE && TargetABI != ABI_ILP32E &&
- TargetABI != ABI_Unknown) {
+ TargetABI != ABI_CHERIOT && TargetABI != ABI_Unknown) {
----------------
resistor wrote:
Adjusted the error message.
I'm not sure what you're suggesting re: not putting cheriot in this case. It has to be added to this case, or computeTargetABI will silently drop target-abi=cheriot.
https://github.com/llvm/llvm-project/pull/192929
More information about the llvm-commits
mailing list