[PATCH] D134068: [TableGen] Add logtwo bang operator
Sergei Barannikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 06:07:25 PDT 2022
barannikov88 accepted this revision.
barannikov88 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/docs/TableGen/ProgRef.rst:1749
+``!logtwo(``\ *a*\ ``)``
+ This operator produces the base 2 log of *a* and produces the integer
+ result. The log of 0 or a negative number produces an error.
----------------
Worth noting that this is a flooring operation?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134068/new/
https://reviews.llvm.org/D134068
More information about the llvm-commits
mailing list