================
@@ -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
----------------
topperc wrote:
If this is the formatting you want, it should be in the earlier PR.
https://github.com/llvm/llvm-project/pull/214107
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits