This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Improve loads-from-store forwarding to handle TokenFactor
ClosedPublic

Authored by niravd on Oct 28 2016, 8:39 AM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

niravd updated this revision to Diff 76199.Oct 28 2016, 8:39 AM
niravd retitled this revision from to [DAG] Improve loads-from-store forwarding to handle TokenFactor.
niravd added a reviewer: jyknight.
niravd updated this object.
niravd added a subscriber: llvm-commits.
hfinkel accepted this revision.Nov 8 2016, 4:53 PM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
10256 ↗(On Diff #76199)

I think this is okay: If the token factor represented dependencies of multiple stores of the same address and type, then the relative order would be undefined, and we'd have other problems.

This revision is now accepted and ready to land.Nov 8 2016, 4:53 PM
This revision was automatically updated to reflect the committed changes.