isinf (infinite) and isfinite should be implemented with the same function except we change the comparison operator.
See PR27145 for more details:
https://llvm.org/bugs/show_bug.cgi?id=27145
Ref: I noticed this while looking at D18513.
Paths
| Differential D18648
make __builtin_isfinite more efficient (PR27145) ClosedPublic Authored by spatel on Mar 31 2016, 8:28 AM.
Details Summary isinf (infinite) and isfinite should be implemented with the same function except we change the comparison operator. Ref: I noticed this while looking at D18513.
Diff Detail
Event Timelinespatel updated this object. This revision is now accepted and ready to land.Apr 7 2016, 12:22 AM Closed by commit rL265675: make __builtin_isfinite more efficient (PR27145) (authored by spatel). · Explain WhyApr 7 2016, 7:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 52917 cfe/trunk/lib/CodeGen/CGBuiltin.cpp
cfe/trunk/test/CodeGen/builtins.c
|