aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TargetParser/Host.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2024-09-25 06:14:43 +0100
committerGitHub <noreply@github.com>2024-09-25 06:14:43 +0100
commit614aeda93b2225c6eb42b00ba189ba7ca2585c60 (patch)
tree7dcceb28d8c1659742911335eec4f680c25f63be /llvm/lib/TargetParser/Host.cpp
parentc92137e474d504159bd9d51f125c8a9ba9141109 (diff)
downloadllvm-614aeda93b2225c6eb42b00ba189ba7ca2585c60.zip
llvm-614aeda93b2225c6eb42b00ba189ba7ca2585c60.tar.gz
llvm-614aeda93b2225c6eb42b00ba189ba7ca2585c60.tar.bz2
[RISCV] Mark Zacas as non-experimental (#109651)
The extension has been ratified for some time, but we kept it experimental (see #99898) due to <https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/444>. The ABI issue has been resolved by #101023 so I believe there's no known barrier to moving Zacas to non-experimental.
Diffstat (limited to 'llvm/lib/TargetParser/Host.cpp')
-rw-r--r--llvm/lib/TargetParser/Host.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp
index b2c4f9e..616e4ed 100644
--- a/llvm/lib/TargetParser/Host.cpp
+++ b/llvm/lib/TargetParser/Host.cpp
@@ -2040,8 +2040,7 @@ const StringMap<bool> sys::getHostCPUFeatures() {
Features["zvfhmin"] = ExtMask & (1ULL << 31); // RISCV_HWPROBE_EXT_ZVFHMIN
Features["zfa"] = ExtMask & (1ULL << 32); // RISCV_HWPROBE_EXT_ZFA
Features["ztso"] = ExtMask & (1ULL << 33); // RISCV_HWPROBE_EXT_ZTSO
- // TODO: Re-enable zacas when it is marked non-experimental again.
- // Features["zacas"] = ExtMask & (1ULL << 34); // RISCV_HWPROBE_EXT_ZACAS
+ Features["zacas"] = ExtMask & (1ULL << 34); // RISCV_HWPROBE_EXT_ZACAS
Features["zicond"] = ExtMask & (1ULL << 35); // RISCV_HWPROBE_EXT_ZICOND
Features["zihintpause"] =
ExtMask & (1ULL << 36); // RISCV_HWPROBE_EXT_ZIHINTPAUSE