This is an archive of the discontinued LLVM Phabricator instance.

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.
See PR27145 for more details:
https://llvm.org/bugs/show_bug.cgi?id=27145

Ref: I noticed this while looking at D18513.

Diff Detail

Repository
rL LLVM

Event Timeline

spatel updated this revision to Diff 52214.Mar 31 2016, 8:28 AM
spatel retitled this revision from to make __builtin_isfinite more efficient (PR27145).
spatel updated this object.
spatel added reviewers: hfinkel, scanon, chandlerc.
spatel added a subscriber: cfe-commits.
chandlerc accepted this revision.Apr 7 2016, 12:22 AM
chandlerc edited edge metadata.

LGTM, nice!

This revision is now accepted and ready to land.Apr 7 2016, 12:22 AM
This revision was automatically updated to reflect the committed changes.