================
@@ -156,6 +156,31 @@ SparcTargetInfo::CPUFamily 
SparcTargetInfo::getCPUFamily(CPUKind Kind) const {
   return Item->Family;
 }
 
+// The CPUs that the backend gives the LeonCASA feature.
+bool SparcTargetInfo::hasLeonCASA(CPUKind Kind) {
----------------
brad0 wrote:

@koachan BTW, I have a SPARC TargetParser implementation here: [[Sparc] Add a 
SPARC TargetParser generated from 
Sparc.td](https://github.com/brad0/llvm-project/tree/sparc-targetparser)
It is generated from Sparc.td, like the PowerPC one, and is used by the backend 
and clang to look up CPU features. I have not posted it as a PR yet.

https://github.com/llvm/llvm-project/pull/242578
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to