This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombine] isLegalNarrowLoad function (NFC)
ClosedPublic

Authored by samparker on Dec 5 2017, 5:23 AM.

Details

Summary

Pull the checks upon the load out from ReduceLoadWidth into their own function, as I need the same functionality for D39604.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Dec 5 2017, 5:23 AM
niravd accepted this revision.Dec 5 2017, 5:49 AM

LGTM.

This revision is now accepted and ready to land.Dec 5 2017, 5:49 AM
fhahn edited edge metadata.Dec 5 2017, 5:49 AM

Thanks Sam, LGTM too.

Thanks to you both.

This revision was automatically updated to reflect the committed changes.