This is an archive of the discontinued LLVM Phabricator instance.

isSafeToLoadUnconditionally support queries without a context
ClosedPublic

Authored by apilipenko on Jan 15 2016, 9:43 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

apilipenko updated this revision to Diff 45004.Jan 15 2016, 9:43 AM
apilipenko retitled this revision from to isSafeToLoadUnconditionally support queries without a context.
apilipenko updated this object.
apilipenko added reviewers: hfinkel, reames.
apilipenko added a subscriber: llvm-commits.
hfinkel added inline comments.Feb 2 2016, 6:20 PM
include/llvm/Analysis/Loads.h
37 ↗(On Diff #45004)

If DL is required, and ScanFrom is now not required, why not flip the order so that you can default ScanFrom to nullptr?

apilipenko updated this revision to Diff 47193.Feb 8 2016, 7:05 AM

Flip ScanFrom and DL arguments as suggested by Hal.

hfinkel accepted this revision.Apr 26 2016, 6:17 PM
hfinkel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 26 2016, 6:17 PM
This revision was automatically updated to reflect the committed changes.