[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)
commit3c7e92b5d618949492912e5bf3461da492fbca5e
tree2e3248eb773343d0fa7d0b3ca73d0088ade2e29d
parent02a913367a6228d2423703f4c57ee5c1dc60a134
[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

llvm-svn: 355257
llvm/lib/Analysis/ScalarEvolution.cpp