[llvm] [Sparc] Enable CASA for the leon3 CPU target (PR #205810)
Daniel Cederman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 23:40:57 PDT 2026
https://github.com/doac updated https://github.com/llvm/llvm-project/pull/205810
>From dd4e3e39b08350d536bee7c1a34a86ee4ede7191 Mon Sep 17 00:00:00 2001
From: Daniel Cederman <cederman at gaisler.com>
Date: Wed, 24 Jun 2026 13:32:16 +0200
Subject: [PATCH] [Sparc] Enable CASA for the leon3 CPU target
This matches the leon3 CPU target in GCC.
---
llvm/lib/Target/Sparc/Sparc.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/Sparc/Sparc.td b/llvm/lib/Target/Sparc/Sparc.td
index 662967e5ebfa6..94e1746949a65 100644
--- a/llvm/lib/Target/Sparc/Sparc.td
+++ b/llvm/lib/Target/Sparc/Sparc.td
@@ -242,7 +242,7 @@ def : Processor<"at697f", LEON2Itineraries,
// LEON 3 FT generic
def : Processor<"leon3", LEON3Itineraries,
- [FeatureLeon, UMACSMACSupport]>;
+ [FeatureLeon, UMACSMACSupport, LeonCASA]>;
// LEON 3 FT (UT699). Provides features for the UT699 processor
// - covers all the erratum fixes for LEON3, but does not support the CASA instruction.
More information about the llvm-commits
mailing list