[PATCH] D113291: [AggressiveInstCombine] Lower Table Based CTTZ

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 27 11:52:48 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp:604
+
+  // Shift should extract top 5..7 bits.
+  if (InputBits - Log2_32(InputBits) != ShiftConst &&
----------------
If we’re only handling 32 and 64, this comment should be 5..6


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

https://reviews.llvm.org/D113291



More information about the llvm-commits mailing list