diff options
author | Simon Peyton Jones <simon.peytonjones@gmail.com> | 2023-01-09 15:50:12 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-11 13:44:12 -0500 |
commit | 964284fcab6e27fe2fa5c279ea008551cbc15dbb (patch) | |
tree | 1b9043e1eccd534d1bb822f80bb6a3d62185e457 /compiler/GHC/Wasm/ControlFlow | |
parent | 300bcc1577772b6e2848c3432efb14d89af2df76 (diff) | |
download | haskell-964284fcab6e27fe2fa5c279ea008551cbc15dbb.tar.gz |
Fix void-arg-adding mechanism for worker/wrapper
As #22725 shows, in worker/wrapper we must add the void argument
/last/, not first. See GHC.Core.Opt.WorkWrap.Utils
Note [Worker/wrapper needs to add void arg last].
That led me to to study GHC.Core.Opt.SpecConstr
Note [SpecConstr needs to add void args first] which suggests the
opposite! And indeed I think it's the other way round for SpecConstr
-- or more precisely the void arg must precede the "extra_bndrs".
That led me to some refactoring of GHC.Core.Opt.SpecConstr.calcSpecInfo.
Diffstat (limited to 'compiler/GHC/Wasm/ControlFlow')
0 files changed, 0 insertions, 0 deletions