[llvm] [Xtensa] Implement Xtensa Floating Point Option. (PR #136086)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 20:47:33 PDT 2025


================
@@ -111,6 +114,17 @@ bool Xtensa::checkRegister(MCRegister RegNo, const FeatureBitset &FeatureBits) {
   return true;
 }
 
+// Get Xtensa User Register by encoding value.
+MCRegister Xtensa::getUserRegister(unsigned Code) {
+  switch (Code) {
+  case 232:
----------------
MaskRay wrote:

Where does the magic value come from?

https://github.com/llvm/llvm-project/pull/136086


More information about the llvm-commits mailing list