This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Move generic opcodes description to their own file.
ClosedPublic

Authored by qcolombet on Jan 20 2016, 5:26 PM.

Details

Summary

Hi Eric,

Does this patch match what you had in mind?

Moreover, the generic opcodes still appear in TargetOpcodes.h and I was thinking that we may want to do something similar. We could move them into their own include, but

  • we don't have precedence for this kind of split (usually we do the .inc, but those are generated by TableGen).
  • we set the values explicitly in the enum.

Ideas for a follow-up patch?

Thanks,
-Quentin

Diff Detail

Repository
rL LLVM

Event Timeline

qcolombet updated this revision to Diff 45469.Jan 20 2016, 5:26 PM
qcolombet retitled this revision from to [GlobalISel] Move generic opcodes description to their own file..
qcolombet updated this object.
qcolombet added a reviewer: echristo.
qcolombet set the repository for this revision to rL LLVM.
qcolombet added a subscriber: llvm-commits.
echristo edited edge metadata.Jan 20 2016, 5:28 PM

Yep. That's what I was thinking - and yes, the others are ideas for follow-on patches if it makes sense. It probably does, but it's also probably not worth the effort right now. It shouldn't be any harder later than it is now to do it if so :)

-eric

qcolombet accepted this revision.Jan 20 2016, 5:35 PM
qcolombet added a reviewer: qcolombet.

Agreed.

Thanks,
-Quentin

This revision is now accepted and ready to land.Jan 20 2016, 5:35 PM
This revision was automatically updated to reflect the committed changes.