fabs not being inlined?

David Nadlinger code at klickverbot.at
Thu Feb 7 23:50:10 UTC 2019


On 7 Feb 2019, at 23:26, NaN via digitalmars-d-ldc wrote:
> Is there something I need to do to get fabs() inlined?

Try -enable-cross-module-inlining, or use link-time optimization. If 
there isn't already, we should probably create a tracker bug for making 
sure we fix inlining for these, whether by switching cross-module 
inlining on by default again, or implementing/adding `pragma(inline, 
true)` to all the math shims.

  — David



More information about the digitalmars-d-ldc mailing list