[llvm-branch-commits] [llvm] [3/7][PISA] Add PISA register file, instruction set, and MC layer (PR #214107)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 3 14:49:27 PST 2026


================
@@ -11,29 +11,37 @@
 ///
 //===----------------------------------------------------------------------===//
 
+include "llvm/TableGen/SearchableTable.td"
 include "llvm/Target/Target.td"
 
+// Global setting
+def Global {
+  string NS = "PISA";
+}
+
+#define PISA
+
 include "PISAFeatures.td"
 include "PISARegisterInfo.td"
+include "PISARegisterBanks.td"
 include "PISAInstrInfo.td"
+include "PISACombine.td"
 
-// Map the pointer-like operands of the target-independent pseudo instructions
-// (STACKMAP, PATCHPOINT, ...) onto a concrete PISA register class.
 defm : RemapAllTargetPseudoPointerOperands<Reg64b>;
-
 def PISAInstrInfo : InstrInfo;
 
 class Proc<string Name, list<SubtargetFeature> Features>
-    : Processor<Name, NoItineraries, Features>;
+ : Processor<Name, NoItineraries, Features>;
 
-// Valid -mcpu values.
-def : Proc<"100", [Feature100]>;
+// valid -mcpu values
+def : Proc<"100",   [Feature100]>;
 
 def PISAInstPrinter : AsmWriter {
-  string AsmWriterClassName = "InstPrinter";
+  string AsmWriterClassName  = "InstPrinter";
----------------
topperc wrote:

Unnecessary formatting change

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


More information about the llvm-branch-commits mailing list