[PATCH] D106313: Make more functions in MathExtras constexpr

Alf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 14:26:26 PDT 2021


gAlfonso-bit created this revision.
gAlfonso-bit created this object with edit policy "Administrators".
gAlfonso-bit added a project: LLVM.
Herald added a subscriber: dexonsmith.
gAlfonso-bit requested review of this revision.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106313

Files:
  llvm/include/llvm/Support/MathExtras.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106313.359914.patch
Type: text/x-patch
Size: 8482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210719/b1757ccc/attachment-0001.bin>


More information about the llvm-commits mailing list