summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/SampleProf.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-13 19:04:45 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-13 19:04:45 +0000
commita80f2041f78b025f573ab237186397e8834e1d59 (patch)
tree987d6319372afbab1c2eec81d4a4b74cf54dffbf /llvm/lib/ProfileData/SampleProf.cpp
parentdcdb325fee27c1283855cbf47747049f3b7b46bc (diff)
downloadbcm5719-llvm-a80f2041f78b025f573ab237186397e8834e1d59.tar.gz
bcm5719-llvm-a80f2041f78b025f573ab237186397e8834e1d59.zip
[ValueTracking] Prevent a call to computeKnownBits if we already know the state of the bit we would calculate. Also reuse a temporary APInt instead of creating a new one.
llvm-svn: 300239
Diffstat (limited to 'llvm/lib/ProfileData/SampleProf.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud