summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-20 23:58:27 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-20 23:58:27 +0000
commit358cd9ae3a9b6f99054ea43af54ec08a39c28265 (patch)
treeee2349ee061e0d9122e3e45ccb8e4b68ef44568e /llvm/lib/Analysis/ScalarEvolution.cpp
parent2500d1e35d061fa99de1f79781088599c0c2e35f (diff)
downloadbcm5719-llvm-358cd9ae3a9b6f99054ea43af54ec08a39c28265.tar.gz
bcm5719-llvm-358cd9ae3a9b6f99054ea43af54ec08a39c28265.zip
[InstCombine] Remove the zextOrTrunc from ShrinkDemandedConstant.
The demanded mask and the constant should always be the same width for all callers today. Also stop copying the demanded mask as its passed in. We should avoid allocating memory unless we are going to do something. The final AND to create the new constant will take care of it. llvm-svn: 300927
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud