summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Tennie <sven.tennie@gmail.com>2020-10-12 16:36:30 +0200
committerSven Tennie <sven.tennie@gmail.com>2020-10-12 16:36:30 +0200
commit3b01b2b15a28558ec411561567ebe211eaa1e3a8 (patch)
tree2d3693e9e23e0ee1e85955e69bae41f24798d7aa
parent2faf4e51a26829df522ef422483ed63976736b16 (diff)
downloadhaskell-wip/riscv-revived.tar.gz
Fix linting issue: Incomplete pattern matchwip/riscv-revived
-rw-r--r--compiler/GHC/CmmToAsm.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToAsm.hs b/compiler/GHC/CmmToAsm.hs
index 7112d603b6..f75eaa5e1e 100644
--- a/compiler/GHC/CmmToAsm.hs
+++ b/compiler/GHC/CmmToAsm.hs
@@ -170,6 +170,7 @@ nativeCodeGen dflags this_mod modLoc h us cmms
ArchAlpha -> panic "nativeCodeGen: No NCG for Alpha"
ArchMipseb -> panic "nativeCodeGen: No NCG for mipseb"
ArchMipsel -> panic "nativeCodeGen: No NCG for mipsel"
+ ArchRiscV64 -> panic "nativeCodeGen: No NCG for RiscV64"
ArchUnknown -> panic "nativeCodeGen: No NCG for unknown arch"
ArchJavaScript-> panic "nativeCodeGen: No NCG for JavaScript"
@@ -1194,4 +1195,3 @@ initNCGConfig dflags = NCGConfig
, ncgDwarfUnwindings = debugLevel dflags >= 1
, ncgDwarfStripBlockInfo = debugLevel dflags < 2 -- We strip out block information when running with -g0 or -g1.
}
-