]> granicus.if.org Git - llvm/commit
[SCEVExpander] Hoist unsigned divisons when safe
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 10 Nov 2016 07:56:12 +0000 (07:56 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 10 Nov 2016 07:56:12 +0000 (07:56 +0000)
commitb2e86a3cab877dd3136faa091779745079c162cd
tree8f1ccdd77eb3e9b79fca25a2074f314c194722e5
parentea50f98cadf8f4d56c293e52bde704f58d7502ee
[SCEVExpander] Hoist unsigned divisons when safe

That is, when the divisor is a constant non-zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286438 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp
unittests/Analysis/ScalarEvolutionTest.cpp