This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Remove undef check for SCEVConstant (NFC)
ClosedPublic

Authored by fhahn on Mar 1 2019, 2:52 PM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.Mar 1 2019, 2:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2019, 2:52 PM
sanjoy accepted this revision.Mar 1 2019, 4:40 PM

lgtm

This revision is now accepted and ready to land.Mar 1 2019, 4:40 PM
This revision was automatically updated to reflect the committed changes.