summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Mason <Axman6@gmail.com>2023-01-19 01:52:55 +1100
committerAlex Mason <Axman6@gmail.com>2023-03-01 15:13:52 +1100
commitbe23795840cb1f5c92059e4a0b78b6afc7ecbba5 (patch)
treee4844e69e9769f5a12ec82131cf7377ad3820c41
parent2eb84998887aee455309bc5b6df7e899170fbcda (diff)
downloadhaskell-be23795840cb1f5c92059e4a0b78b6afc7ecbba5.tar.gz
Update note to mention LLVM
-rw-r--r--compiler/GHC/Utils/Outputable.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Utils/Outputable.hs b/compiler/GHC/Utils/Outputable.hs
index 55e2bb2a9a..9035e3fdc8 100644
--- a/compiler/GHC/Utils/Outputable.hs
+++ b/compiler/GHC/Utils/Outputable.hs
@@ -1650,8 +1650,8 @@ before these opportunities can be exposed. Therefore, we want to explicitly
request that GHC generate HDoc (or HLine) specializations of any polymorphic
printing functions used by the code generator.
-In code generators (CmmToAsm.{AArch64,PPC,X86}.Ppr) we add a specialize
-pragma just to the entry point pprNatCmmDecl, to avoid cluttering
+In code generators (CmmTo{Asm,Llvm}.{AArch64,PPC,X86,Llvm}.Ppr) we add a
+specialize pragma just to the entry point pprNatCmmDecl, to avoid cluttering
the entire module. Because specialization is transitive, this makes sure
that other functions in that module are specialized too.