[PATCH] D16621: APInt: Slightly simplify countLeadingZerosSlowCase()
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 06:43:32 PST 2016
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg, with one minor comment.
================
Comment at: lib/Support/APInt.cpp:692
@@ -705,1 +691,3 @@
}
+ // Adjust for unused bits in the most signifant word (which are zero as well).
+ unsigned Mod = BitWidth % APINT_BITS_PER_WORD;
----------------
Typo: signifant 🐘
Repository:
rL LLVM
http://reviews.llvm.org/D16621
More information about the llvm-commits
mailing list