[LLVMdev] sqrt

Jon Harrop jon at ffconsultancy.com
Thu Jan 7 07:06:07 PST 2010


What is the state of sqrt in LLVM?

It was an intrinsic but there are no OCaml bindings for it and, last I looked, 
it generated inefficient code on Linux due to this bug:

  http://www.llvm.org/PR3219

Is the intrinsic deprecated? Am I losing a lot of performance by calling sqrt 
from libm instead of using the intrinsic?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list