Commit Graph

2 Commits

Author SHA1 Message Date
Kavon Farvardin
1c3ef6c51d ColdSplit: avoid with -Osize
Based on prior evaluation, this optimization always increases code
size. It splits out blocks and introduces calls, which always adds
extra instructions to shuffle values for calling conventions and
to make the actual call/return. Apple clang avoids the optimization
in `-Oz`, which I think is pretty close to what Swift's `-Osize`
really means.
2024-08-25 13:56:58 -07:00
Kavon Farvardin
11e8bb8759 IRGen: -enable-split-cold-code frontend feature 2024-08-09 12:09:29 -04:00