Add lp64e ABI to the spec tests match

This commit is contained in:
Jan Bujak 2024-10-31 07:37:25 +00:00
parent 44b720a2d4
commit c1db011ccb

View File

@ -165,7 +165,8 @@ fn check_consistency(&self) {
assert_matches!(&*self.llvm_abiname, "ilp32" | "ilp32f" | "ilp32d" | "ilp32e")
}
"riscv64" => {
assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q")
// Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI.
assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q" | "lp64e")
}
_ => {}
}