Standard way to supply hints to branches

Nicholas Wilson iamthewilsonator at hotmail.com
Sat Aug 24 00:09:31 UTC 2024


On Friday, 23 August 2024 at 20:08:53 UTC, kinke wrote:
> I suggest adding a `core.builtins.expect()` intrinsic to 
> standardize the existing LDC and GDC intrinsics, adding a dummy 
> (`pragma(inline, true)`!) identity function for DMD. No need 
> for introducing statement-level UDAs, other compiler magic, 
> complicating language/spec etc. `core.attribute` already does 
> this for magic UDAs.

https://github.com/dlang/dmd/pull/16807


More information about the Digitalmars-d mailing list