[PATCH] D67300: [ConstantFolding] Fold constant calls to log2()

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 15:51:54 PDT 2019


efriedma added a comment.

I think a few of the functions we use ConstantFoldFP with actually already have implementations in APFloat: floor, ceil, round, fabs, fmod.

I'm not sure "C99" is really relevant; I don't think we support any hosts which don't have C99 libm, anyway.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67300/new/

https://reviews.llvm.org/D67300





More information about the llvm-commits mailing list