[LLVMdev] Floating point ordered and unordered comparisons

Eli Friedman eli.friedman at gmail.com
Tue Jul 9 21:55:23 PDT 2013


On Tue, Jul 9, 2013 at 8:21 PM,  <sundeepk at codeaurora.org> wrote:
>> The function ISD::getSetCCInverse() would probably be useful for you
>> here: you can use it to transform an unordered operation into an
>> ordered operation.
>
> Thanks for your reply Eli. I will check how to convert unordered
> operations back to ordered one. I have another related question - is it
> possible for frontend (clang) to generate unordered operation from the
> source code?

Some builtins like __builtin_isnormal will generate them.

-Eli



More information about the llvm-dev mailing list