[LLVMdev] fast math flags question

Blank, Guy guy.blank at intel.com
Sun Apr 6 03:58:35 PDT 2014


Hi,

I've noticed that the lang ref defines 5 operations (fadd, fsub, fmul, fdiv, frem) that can use the fast-math flags.
But when setting the flags in code, the only check is isa<FPMathOperator>(instruction), which returns true for any instruction that returns float.
Should I really be able to set the flags for operations which were not mentioned in the langref?

Thanks,
Guy
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140406/c1ddf9ab/attachment.html>


More information about the llvm-dev mailing list