This is an archive of the discontinued LLVM Phabricator instance.

[X86] Moving X86Local namespace from .cpp to .h file to use it in memory folding TableGen backend.
ClosedPublic

Authored by aymanmus on May 3 2017, 4:43 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon added inline comments.May 3 2017, 5:52 AM
utils/TableGen/X86RecognizableInstr.h
25 ↗(On Diff #97603)

Do we need to prefix this macro now that its more globally available? X86_INSTR_MRM_MAPPING for instance?

aymanmus updated this revision to Diff 97622.May 3 2017, 6:31 AM

extending prefix for macro due to higher exposure.

aymanmus marked an inline comment as done.May 3 2017, 6:31 AM
RKSimon edited edge metadata.May 9 2017, 3:25 AM

Should X86Local be inside the llvm namespace?

filcab added a subscriber: filcab.May 10 2017, 7:19 AM

I'd put that namespace inside llvm too.

aymanmus updated this revision to Diff 98591.May 11 2017, 12:56 AM

Moving X86Local inside llvm namespace

RKSimon accepted this revision.May 11 2017, 3:09 AM

LGTM

This revision is now accepted and ready to land.May 11 2017, 3:09 AM
This revision was automatically updated to reflect the committed changes.