summaryrefslogtreecommitdiff
path: root/compiler/GHC/Platform/LoongArch64.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Platform/LoongArch64.hs')
-rw-r--r--compiler/GHC/Platform/LoongArch64.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/GHC/Platform/LoongArch64.hs b/compiler/GHC/Platform/LoongArch64.hs
new file mode 100644
index 0000000000..deabbbb4c0
--- /dev/null
+++ b/compiler/GHC/Platform/LoongArch64.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module GHC.Platform.LoongArch64 where
+
+import GHC.Prelude
+
+#define MACHREGS_NO_REGS 0
+#define MACHREGS_loongarch64 1
+#include "CodeGen.Platform.h" \ No newline at end of file