[LLVMdev] Convert fdiv - X/Y -> X*1/Y

Joerg Sonnenberger joerg at britannica.bec.de
Thu Aug 8 13:33:01 PDT 2013


On Thu, Aug 08, 2013 at 10:41:12AM -0700, Shuxin Yang wrote:
> Yes it is precise, if Y is constant and 1/Y is exact.  In this case,
> this transformation is conducted without "-fast-math".

I meant the other case, if the X/Y with power of two X. Some other forms
may also apply depending on the precise value of Y.

Joerg



More information about the llvm-dev mailing list