[TableGen] Add log bang operator
This patch adds base 2 logarithm that returns integer result. I initially wanted to name it `!log2`, but numbers are not permitted in the name. The documentation makes sure to clarify that it is base 2 since it is not explicit in the operator name. Differential Revision: https://reviews.llvm.org/D134068
Loading
Please sign in to comment