Displaying 2 results from an estimated 2 matches for "192301b5".
2012 Apr 16
0
[LLVMdev] Representing -ffast-math at the IR level
Hi Chandler,
> Minor comments:
> + if (!Accuracy)
> + // If it's not a floating point number then it must be 'fast'.
> + return HUGE_VALF;
>
> Can we add an assert instead of a comment? It's just as documenting and will
> catch any goofs.
Done.
>
> + // If it's not a floating point number then it must be 'fast'.
> + return
2012 Apr 16
2
[LLVMdev] Representing -ffast-math at the IR level
Thanks for the updates!
Minor comments:
+ if (!Accuracy)
+ // If it's not a floating point number then it must be 'fast'.
+ return HUGE_VALF;
Can we add an assert instead of a comment? It's just as documenting and
will catch any goofs.
+ // If it's not a floating point number then it must be 'fast'.
+ return !isa<ConstantFP>(MD->getOperand(0));