[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 22:47:19 PST 2024
================
@@ -68,6 +68,11 @@ ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits,
TargetABI = ABI_Unknown;
}
+ if ((TargetABI == RISCVABI::ABI::ABI_ILP32E ||
+ (TargetABI == ABI_Unknown && IsRVE && !IsRV64)) &&
+ FeatureBits[RISCV::FeatureStdExtD])
+ report_fatal_error("ILP32E must not be used with the D ISA extension");
----------------
topperc wrote:
"must not" -> "cannot"
https://github.com/llvm/llvm-project/pull/76777
More information about the llvm-commits
mailing list