This is an archive of the discontinued LLVM Phabricator instance.

Make isLegalAddressingMode() taking DataLayout as an argument
ClosedPublic

Authored by mehdi_amini on Jul 8 2015, 1:21 PM.

Details

Summary

This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.

Diff Detail

Event Timeline

mehdi_amini updated this revision to Diff 29281.Jul 8 2015, 1:21 PM
mehdi_amini retitled this revision from to Make isLegalAddressingMode() taking DataLayout as an argument.
mehdi_amini updated this object.
mehdi_amini added a reviewer: echristo.
echristo accepted this revision.Jul 8 2015, 4:08 PM
echristo edited edge metadata.

LGTM. One inline comment (that I've used in another review so I'll stop putting it in).

-eric

include/llvm/Target/TargetLowering.h
1475–1476

Consistency in parameter location...

This revision is now accepted and ready to land.Jul 8 2015, 4:08 PM