Does the compiler inline the predicate functions to std.algorithm.sort?

Johan Engelen j at j.nl
Mon Mar 19 19:41:01 UTC 2018


On Monday, 19 March 2018 at 12:45:58 UTC, tipdbmp wrote:
>>
>>the LLVM IR obtained with -output-ll might be easier to read 
>>than assembly.)
> I only seem to get assembly on d.godbolt.org, even with the 
> -output-ll option.

On d.godbolt.org, you can get LLVM IR with a trick: use 
`-output-s=false -output-ll`.

-Johan



More information about the Digitalmars-d-learn mailing list