This is an archive of the discontinued LLVM Phabricator instance.

[RS4GC] Update and simplify handling of Constants in findBaseDefiningValueOfVector().
ClosedPublic

Authored by mjacob on Jan 8 2016, 6:41 PM.

Details

Summary

This is analogous to r256079, which removed an overly strong assertion, and
r256812, which simplified the code by replacing three conditionals by one.

Diff Detail

Event Timeline

mjacob updated this revision to Diff 44392.Jan 8 2016, 6:41 PM
mjacob retitled this revision from to [RS4GC] Update and simplify handling of Constants in findBaseDefiningValueOfVector()..
mjacob updated this object.
mjacob added a reviewer: reames.
mjacob added a subscriber: llvm-commits.
reames accepted this revision.Jan 8 2016, 6:44 PM
reames edited edge metadata.

LGTM w/a test case or two added.

This revision is now accepted and ready to land.Jan 8 2016, 6:44 PM
mjacob updated this revision to Diff 44400.Jan 8 2016, 8:05 PM
mjacob edited edge metadata.

Add test case.

mjacob closed this revision.Jan 8 2016, 8:05 PM