This is an archive of the discontinued LLVM Phabricator instance.

NFC. Move isDereferenceable to Loads.h/cpp
ClosedPublic

Authored by apilipenko on Jan 14 2016, 4:24 AM.

Details

Summary

As suggested by Hal in D10920 move isDereferenceable stuff to Loads.h/cpp. In subsequent change (actually an update of D10920) I'm going to eliminate isDerferenceableAndAlignedPointer from Loads API, leaving isSafeToLoadSpecualtively the only function to check is load instruction can be speculated.

Diff Detail

Event Timeline

apilipenko updated this revision to Diff 44853.Jan 14 2016, 4:24 AM
apilipenko retitled this revision from to Move isDereferenceable to Loads.h/cpp.
apilipenko updated this object.
apilipenko added reviewers: hfinkel, reames.
apilipenko added a subscriber: llvm-commits.
apilipenko retitled this revision from Move isDereferenceable to Loads.h/cpp to NFC. Move isDereferenceable to Loads.h/cpp.Jan 14 2016, 4:30 AM
hfinkel accepted this revision.Feb 2 2016, 6:21 PM
hfinkel edited edge metadata.

LGTM (thanks for following-up with this).

This revision is now accepted and ready to land.Feb 2 2016, 6:21 PM
This revision was automatically updated to reflect the committed changes.