OSDN Git Service

[ConstantRange] Delete unused getSetSize
authorFangrui Song <maskray@google.com>
Sun, 14 Apr 2019 04:45:04 +0000 (04:45 +0000)
committerFangrui Song <maskray@google.com>
Sun, 14 Apr 2019 04:45:04 +0000 (04:45 +0000)
commit1f9f94ca362f80d34523e149cccea4b42c5347db
tree3af1147277883f4fe3073eba37fb5c18c9e562bb
parent1ac65e8983220569da42e5f0ff02a48c9a751eb0
[ConstantRange] Delete unused getSetSize

getSetSize returns an APInt that is 1 bit wider. The APInt is typically 65-bit and requires memory allocation. isSizeStrictlySmallerThan and isSizeLargerThan are preferred. The last use of this helper method was removed by rL302385.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358347 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ConstantRange.h
lib/IR/ConstantRange.cpp