Files
swift-mirror/lib/LLVMPasses
Erik Eckstein 145b8ae35d LLVMMergeFunctions: allow more parameters if the function is bigger
We had a fixed limit of 4 added parameters for merged functions. But if a function is big, it makes sense to allow more parameters to be added.
Now, derived the maximum number of parameters from the function size.

This increases the chances that big functions (which likely require more parameters) are merged.
2020-08-06 19:02:11 +02:00
..