[llvm] [RISCV] Make X5 allocatable for JALR on CPUs without RAS (PR #78417)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 04:57:41 PST 2024
================
@@ -970,6 +970,9 @@ def FeatureFastUnalignedAccess
def FeaturePostRAScheduler : SubtargetFeature<"use-postra-scheduler",
"UsePostRAScheduler", "true", "Schedule again after register allocation">;
+def FeatureNoRAS : SubtargetFeature<"no-ras", "HasRAS", "false",
+ "Hasn't RAS (Return Address Stack)">;
+
----------------
wangpc-pp wrote:
Yeah, RAS can be ambiguity as RAS can be `Reliability, Availability, Serviceability`.
I will align it to ARM later.
https://github.com/llvm/llvm-project/pull/78417
More information about the llvm-commits
mailing list