This is an archive of the discontinued LLVM Phabricator instance.

[globalisel] Make LegalizerInfo::LegalizeAction available outside of LegalizerInfo. NFC
ClosedPublic

Authored by dsanders on Jan 18 2018, 8:50 AM.

Details

Reviewers
dsanders
Summary

The improvements to the LegalizerInfo discussed in D42244 require that
LegalizerInfo::LegalizeAction be available for use in other classes. As such,
it needs to be moved out of LegalizerInfo. This has been done separately to the
next patch to minimize the noise in that patch.

Depends on D42244

Event Timeline

dsanders created this revision.Jan 18 2018, 8:50 AM
dsanders updated this revision to Diff 130971.Jan 22 2018, 3:19 PM

Rebase and use a namespace instead of an enum class so that we can still use the shorter names with 'using namespace ...'
The type itself (but not the enumerators) is imported into the llvm namespace for the same reason.

dsanders updated this revision to Diff 130973.Jan 22 2018, 3:25 PM

Include missing part of the updated patch

dsanders accepted this revision.Jan 29 2018, 9:40 AM

D42251 has been LGTM'd and this is just moving an enum in preparation for that patch

This revision is now accepted and ready to land.Jan 29 2018, 9:40 AM
dsanders closed this revision.Jan 29 2018, 9:40 AM

r323669