From 730bb59086ad1036143983c3fba61bd851bebc03 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 21 Oct 2020 16:15:16 -0400 Subject: [PATCH] cmm: Add Note reference to ForeignHint --- compiler/GHC/Cmm/Type.hs | 2 ++ 1 file changed, 2 insertions(+) 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 -- GitLab