summaryrefslogtreecommitdiff
path: root/test/LTO
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-03-07 02:19:45 +0000
committerCraig Topper <craig.topper@gmail.com>2017-03-07 02:19:45 +0000
commit1f41782fb2b2948bfa9dd0a17b4cab5c812299a7 (patch)
tree66498226e9ed4f239fb0fb7b0f48b4be6999af83 /test/LTO
parent73046581a3eca1a6b91ed2d43d4b37a0b01ca2ed (diff)
[APInt] Implement getLowBitsSet/getHighBitsSet/getBitsSet using setLowBits/setHighBits/setBits
This patch implements getLowBitsSet/getHighBitsSet/getBitsSet in terms of the new setLowBits/setHighBits/setBits methods by making an all 0s APInt and then calling the appropriate set method. This also adds support to setBits to allow loBits/hiBits to be in the other order to match with getBitsSet behavior. Differential Revision: https://reviews.llvm.org/D30563 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LTO')
0 files changed, 0 insertions, 0 deletions