OSDN Git Service

[APInt] Add clearSignBit method. Use it and setSignBit in a few places. NFCI
authorCraig Topper <craig.topper@gmail.com>
Fri, 28 Apr 2017 16:58:05 +0000 (16:58 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 28 Apr 2017 16:58:05 +0000 (16:58 +0000)
commit78b412f427f84d570aab92fe78e4236e95a5b951
treefbfe2b4038fec4c7d96a603265d410605d367912
parentf743447b5e7b50acac40af067df3a1435202211c
[APInt] Add clearSignBit method. Use it and setSignBit in a few places. NFCI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301656 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
lib/Analysis/DemandedBits.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp