This is an archive of the discontinued LLVM Phabricator instance.

Don't propagate dereferenceable attribute through gc.relocate in InstCombine
ClosedPublic

Authored by apilipenko on Jan 13 2016, 6:25 AM.

Details

Summary

There is no need to propagate dereferenceable attribute through gc.relocate because isDereferenceableAndAligned pointer looks through relocations.

Diff Detail

Repository
rL LLVM

Event Timeline

apilipenko updated this revision to Diff 44747.Jan 13 2016, 6:25 AM
apilipenko retitled this revision from to Don't propagate dereferenceable attribute through gc.relocate in InstCombine.
apilipenko updated this object.
apilipenko added reviewers: hfinkel, reames, sanjoy.
apilipenko added a subscriber: llvm-commits.
reames accepted this revision.Jan 13 2016, 12:21 PM
reames edited edge metadata.

LGTM - There's an argument that being able to stop the search earlier is desirable, but given how incomplete the handling is, just nuke it for now.

This revision is now accepted and ready to land.Jan 13 2016, 12:21 PM
This revision was automatically updated to reflect the committed changes.