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

Joerg Sonnenberger joerg at britannica.bec.de
Thu Aug 8 10:32:47 PDT 2013


On Thu, Aug 08, 2013 at 10:13:07AM -0700, Shuxin Yang wrote:
> You should be very careful, reciprocal is very very very imprecise
> transformation. Sometimes you will see big different
> with and without this xform.

What about constant %a, %b in this case? At least for power-of-two
arguments, wouldn't it still be precise?

Joerg



More information about the llvm-dev mailing list