[llvm] Sparc: Add 64-bit feature (PR #157445)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 07:58:17 PDT 2025


================
@@ -34,6 +34,9 @@ def FeatureNoFMULS
 def FeatureV9
   : SubtargetFeature<"v9", "IsV9", "true",
                      "Enable SPARC-V9 instructions">;
+def Feature64Bit : SubtargetFeature<"64bit", "Is64Bit", "true",
+                                    "Enable 64-bit mode", [FeatureV9]>;
+
----------------
s-barannikov wrote:

`Is64Bit` predicate in `SparcInstrInfo.td` should be changed to use this feature.


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


More information about the llvm-commits mailing list