OSDN Git Service

[ValueTracking] Convert most of the calls to computeKnownBits to use the version...
authorCraig Topper <craig.topper@gmail.com>
Wed, 24 May 2017 16:53:07 +0000 (16:53 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 24 May 2017 16:53:07 +0000 (16:53 +0000)
commite3a1116322bb266387683482c977c968117105fa
treefd7f52e6faf24ba5e9555f18e64c68f695f6bc66
parent76ae1252621b901535b25b0d9cfef9dbb70d748e
[ValueTracking] Convert most of the calls to computeKnownBits to use the version that returns the KnownBits object.

This continues the changes started when computeSignBit was replaced with this new version of computeKnowBits.

Differential Revision: https://reviews.llvm.org/D33431

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303773 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/Lint.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineCasts.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Scalar/GuardWidening.cpp
lib/Transforms/Utils/Local.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp