logoalt Hacker News

garaetjjteyesterday at 7:13 PM1 replyview on HN

It seems to me that either you want to allow for contraction everywhere, or not all. Allowing it only sometimes is worst of both worlds.


Replies

jcranmeryesterday at 8:46 PM

If you allow contraction after inlining, whether or not an FMA will get contracted becomes subject to the vicissitudes of inlining and other compiler decisions that can be hard-to-predict. It turns out to be a lot harder of a problem to solve than it appears at first glance.