[LLVMdev] unsafe math

Junjie Gu jgu222 at gmail.com
Thu Sep 13 14:39:41 PDT 2012


I tried a simple float math (a + b - b) using llc's option
–enable-unsafe-fp-math,  but I still have add and sub in the code
(x86).

Does LLVM perform any float/double reassociation, etc under unsafe
math or fast-math ?

Thanks
Junjie




More information about the llvm-dev mailing list