This is an archive of the discontinued LLVM Phabricator instance.

Add handling of !invariant.load to PropagateMetadata.
ClosedPublic

Authored by jlebar on Aug 12 2016, 5:39 PM.

Details

Summary

This will let e.g. the load/store vectorizer propagate this metadata
appropriately.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 67946.Aug 12 2016, 5:39 PM
jlebar retitled this revision from to Add handling of !invariant.load to PropagateMetadata..
jlebar updated this object.
jlebar added a reviewer: arsenm.
jlebar added subscribers: hfinkel, tra.
mzolotukhin accepted this revision.Aug 12 2016, 5:43 PM
mzolotukhin added a reviewer: mzolotukhin.

Looks good to me, thanks!

This revision is now accepted and ready to land.Aug 12 2016, 5:43 PM

FYI I haven't landed this yet because the test relies on D23477. There may be another way to test it, but the dependent patches are getting reviewed now, so unless someone else needs this in the meantime I'll probably just wait for those to get in.

This revision was automatically updated to reflect the committed changes.