[PATCH] D128911: Emit table lookup from TargetLowering::expandCTTZ()
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 10:18:19 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:7972
+ for (unsigned i = 0; i < BitWidth; i++) {
+ APInt Lshr = DeBruijn.rotl(i);
+ APInt Rshr = Lshr.lshr(ShiftAmt);
----------------
What does `Lshr` mean? `shr` is usually "shift right", and lshr is logical shift right. But here `L` means left? But that means I don't know what `shr` means.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128911/new/
https://reviews.llvm.org/D128911
More information about the llvm-commits
mailing list