summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-10-21 16:15:16 -0400
committerBen Gamari <ben@well-typed.com>2020-10-21 16:15:16 -0400
commit8ef1db77855584f26fab6cbda235d3412b0b9f03 (patch)
treefa86e2028df9670bb50e487d2f0ecf3c8fc84299
parentcf3c3bcd93b3a515f3c2db81b5a7c42af480c9b6 (diff)
downloadhaskell-wip/foreignhint-note.tar.gz
cmm: Add Note reference to ForeignHintwip/foreignhint-note
-rw-r--r--compiler/GHC/Cmm/Type.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Cmm/Type.hs b/compiler/GHC/Cmm/Type.hs
index 8a750cd10d..8cd502f8b7 100644
--- a/compiler/GHC/Cmm/Type.hs
+++ b/compiler/GHC/Cmm/Type.hs
@@ -311,6 +311,8 @@ isVecType _ = False
-- Hints are extra type information we attach to the arguments and
-- results of a foreign call, where more type information is sometimes
-- needed by the ABI to make the correct kind of call.
+--
+-- See Note [Signed vs unsigned] for one case where this is used.
data ForeignHint
= NoHint | AddrHint | SignedHint