]> granicus.if.org Git - llvm/commit
ScalarEvolution: Introduce SCEVSDivision and SCEVUDivision
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 16 Nov 2014 20:35:19 +0000 (20:35 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 16 Nov 2014 20:35:19 +0000 (20:35 +0000)
commit2aad1e35670d7340079a0324ced764296f5f5883
treed142f62bee69203604766153addc812825c070f5
parentec3cfb00dc7e8f5e491f970fc0ff3169c373df8b
ScalarEvolution: Introduce SCEVSDivision and SCEVUDivision

It turns out that not all users of SCEVDivision want the same
signedness.  Let the users determine which operation they'd like by
explicitly choosing SCEVUDivision or SCEVSDivision.

findArrayDimensions and computeAccessFunctions will use SCEVSDivision
while HowFarToZero will use SCEVUDivision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp