OSDN Git Service

[SCEV] Use `SCEV::isAllOnesValue` directly; NFC.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 13 Oct 2015 23:28:31 +0000 (23:28 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 13 Oct 2015 23:28:31 +0000 (23:28 +0000)
commit22fe9c561b810a8dcd7899cabfa752560cb835ba
tree1fd3be445990e1e42c315d2af178efd9cb9f8230
parentb5348ec6afd86543c9dfc11d910849921aa4cf10
[SCEV] Use `SCEV::isAllOnesValue` directly; NFC.

Instead of `dyn_cast` ing to `SCEVConstant` and checking the contained
`ConstantInteger.

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