diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2022-11-30 17:09:43 +0100 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2022-12-07 16:36:15 +0100 |
commit | 95f832ee9ed8969b415af8eecf387f63def7861d (patch) | |
tree | 59edefa3a66739515021f367ba39e80a84d39fe2 /rts/RtsStartup.c | |
parent | a9d9b8c0458e838f331ead62dca272665ecbf20d (diff) | |
download | haskell-wip/T22324.tar.gz |
Make (^) INLINE (#22324)wip/T22324
So that we get to cancel away the allocation for the lazily used base.
We can move `powImpl` (which *is* strict in the base) to the top-level
so that we don't duplicate too much code and move the SPECIALISATION
pragmas onto `powImpl`.
The net effect of this change is that `(^)` plays along much better with
inlining thresholds and loopification (#22227), for example in `x2n1`.
Fixes #22324.
Diffstat (limited to 'rts/RtsStartup.c')
0 files changed, 0 insertions, 0 deletions