[PATCH] D134068: [TableGen] Add logtwo bang operator
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 10:33:06 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/TableGen/Record.cpp:899
+ } else {
+ uint64_t Log = Log2_64(LHSi->getValue());
+ assert(Log <= INT64_MAX &&
----------------
Reuse LHsv here
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