[APInt] Remove unnecessary min with BitWidth from countTrailingOnesSlowCase.
authorCraig Topper <craig.topper@gmail.com>
Sat, 22 Apr 2017 19:59:11 +0000 (19:59 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 22 Apr 2017 19:59:11 +0000 (19:59 +0000)
commit3a29e3b8e72a050a84fd4acd83ffe4fb0cccfb34
tree6aeb332750b4513adef191ad39a45f671a45de2d
parent016a82ba51d2a3574130423b27ffbdc24326ed5d
[APInt] Remove unnecessary min with BitWidth from countTrailingOnesSlowCase.

The unused upper bits are guaranteed to be 0 so we don't need to worry about accidentally counting them.

llvm-svn: 301091
llvm/lib/Support/APInt.cpp