diff options
author | Simon Peyton Jones <simon.peytonjones@gmail.com> | 2023-02-22 23:17:04 +0000 |
---|---|---|
committer | Simon Peyton Jones <simon.peytonjones@gmail.com> | 2023-02-22 23:20:07 +0000 |
commit | 6b718cfcfc23bba795da0fd74a3d8f45b6f3bd7f (patch) | |
tree | 0b2faf989fc6603dc9bf1b6122ad856713308aa3 /compiler/Language/Haskell | |
parent | f11d9c274d728696bc173c62a2ead62b8288836f (diff) | |
download | haskell-wip/T23024.tar.gz |
Account for local rules in specImportswip/T23024
As #23024 showed, in GHC.Core.Opt.Specialise.specImports, we were
generating specialisations (a locally-define function) for imported
functions; and then generating specialisations for those
locally-defined functions. The RULE for the latter should be
attached to the local Id, not put in the rules-for-imported-ids
set.
Fix is easy; similar to what happens in GHC.HsToCore.addExportFlagsAndRules
Diffstat (limited to 'compiler/Language/Haskell')
0 files changed, 0 insertions, 0 deletions