kpn added a comment.

In https://reviews.llvm.org/D53157#1304347, @uweigand wrote:

> But given that there is still infrastructure missing in the IR optimizers, I 
> also think that at least in the first implementation, we probably should go 
> with the original approach and just use constrained intrinsics everywhere in 
> the function, and possibly add some function attribute that prevent any 
> cross-inlining of functions built with constrained intrinsics with functions 
> built with regular floating-point operations.


Subtle. This last sentence seems to imply that cross-inlining should be allowed 
when there are no regular floating point operations in the function to be 
inlined. This makes sense due to, for example, the common use of tiny functions 
just to retrieve a value. Do I interpret your statement correctly?


https://reviews.llvm.org/D53157



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to