summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/ghc/ghc-9.6-llvm-restore-import.patch
blob: 01f933bebc7d6b181a94b82e51d484b50584cd20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/compiler/GHC/CmmToLlvm.hs b/compiler/GHC/CmmToLlvm.hs
index 7d48693765..6290779a44 100644
--- a/compiler/GHC/CmmToLlvm.hs
+++ b/compiler/GHC/CmmToLlvm.hs
@@ -28,6 +28,7 @@
 
 import GHC.Utils.BufHandle
 import GHC.Driver.Session
+import GHC.Platform ( platformArch, Arch(..) )
 import GHC.Utils.Error
 import GHC.Data.FastString
 import GHC.Utils.Outputable