summaryrefslogtreecommitdiff
path: root/compiler/flattening-notes
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2022-11-30 17:09:43 +0100
committerSebastian Graf <sebastian.graf@kit.edu>2022-12-07 16:36:15 +0100
commit95f832ee9ed8969b415af8eecf387f63def7861d (patch)
tree59edefa3a66739515021f367ba39e80a84d39fe2 /compiler/flattening-notes
parenta9d9b8c0458e838f331ead62dca272665ecbf20d (diff)
downloadhaskell-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 'compiler/flattening-notes')
0 files changed, 0 insertions, 0 deletions