[PATCH] D81325: [APInt] set all bits for getBitsSetWithWrap if loBit == hiBit
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 6 03:10:21 PDT 2020
lkail added inline comments.
================
Comment at: llvm/include/llvm/ADT/APInt.h:1459
return;
+ } else if (loBit == hiBit) {
+ // Get all bits set if loBit == hiBit for wrap case.
----------------
Have no knowledge of this method's semantics, what this branch does should equal to the block following.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81325/new/
https://reviews.llvm.org/D81325
More information about the llvm-commits
mailing list