[LLVMdev] [RFC] Extend LLVM IR to express "fast-math" at a per-instruction level

Krzysztof Parzyszek kparzysz at codeaurora.org
Thu Nov 1 15:56:20 PDT 2012


On 11/1/2012 5:08 PM, Dan Gohman wrote:
>
> Suppose I'm writing a backend for a target which has an instruction that
> traps on any kind of NaN. Assuming I care about NaNs, I can't use such
> an instruction for regular floating-point operations. However, would it
> be ok to use it when the N flag is set?

I've lost track here.  What kind of instruction are you talking about?

-Krzysztof


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list