This is an archive of the discontinued LLVM Phabricator instance.

[NFC][SelectionDAG] Extending Load width reduction tests to Load and Store
ClosedPublic

Authored by dnsampaio on Jun 27 2018, 1:38 AM.

Details

Summary

This NFC adds the ability to use store operations in the existing function that checks for validity and profitability of reducing the width of loads.

Diff Detail

Repository
rL LLVM

Event Timeline

dnsampaio created this revision.Jun 27 2018, 1:38 AM
samparker accepted this revision.Jun 27 2018, 1:56 AM

LGTM with the one inline comment, please change before committing but no need to re-review.

cheers!

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
4019 ↗(On Diff #153020)

For this refactor, its best for StrictInside to be removed and then add it to the (I presume following) patch that uses it.

This revision is now accepted and ready to land.Jun 27 2018, 1:56 AM
dnsampaio updated this revision to Diff 153041.Jun 27 2018, 4:13 AM

Removed flag as requested.

This revision was automatically updated to reflect the committed changes.
dnsampaio marked an inline comment as done.