]> granicus.if.org Git - llvm/commit
[SCEV] Remove undef check for SCEVConstant (NFC)
authorFlorian Hahn <flo@fhahn.com>
Sat, 2 Mar 2019 01:57:28 +0000 (01:57 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 2 Mar 2019 01:57:28 +0000 (01:57 +0000)
commitd56d7c48aabe04ce5a25b5cd64abdbe41a0befb3
treec858c23a4c6d9017e1f72eedb0dec0b7d228c006
parenta5110cb3358436c41d62903a03cf80335a0f11e0
[SCEV] Remove undef check for SCEVConstant (NFC)

The value stored in SCEVConstant is of type ConstantInt*, which can
never be UndefValue. So we should never hit that code.

Reviewers: mkazantsev, sanjoy

Reviewed By: sanjoy

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

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