This is an archive of the discontinued LLVM Phabricator instance.

Make more functions in MathExtras.h constexpr
AbandonedPublic

Authored by gAlfonso-bit on Jul 19 2021, 2:26 PM.

Details

Reviewers
None
Summary

A lot of these functions can be computed at compile time and would fare much better that way, especially since there are other functions that would benefit from being constexpr but call these functions and therefore do not get that luxury.

Diff Detail

Event Timeline

gAlfonso-bit created this revision.Jul 19 2021, 2:26 PM
gAlfonso-bit created this object with edit policy "Administrators".
gAlfonso-bit requested review of this revision.Jul 19 2021, 2:26 PM
gAlfonso-bit retitled this revision from Make more functions in MathExtras constexpr to Make more functions in MathExtras.h constexpr.Jul 21 2021, 7:18 PM
gAlfonso-bit abandoned this revision.Jul 27 2021, 8:58 AM