This is an archive of the discontinued LLVM Phabricator instance.

[X86][GlobalISel] Add general-purpose Register Bank
ClosedPublic

Authored by igorb on Feb 9 2017, 9:51 AM.

Details

Summary

[X86][GlobalISel] Add general-purpose Register Bank.
Add trivial handling of G_ADD legalization .
Add Regestry Bank selection for COPY and G_ADD instructions

Diff Detail

Repository
rL LLVM

Event Timeline

igorb created this revision.Feb 9 2017, 9:51 AM
qcolombet accepted this revision.Feb 9 2017, 3:03 PM
qcolombet added a subscriber: qcolombet.

You could remove the frame info from the test cases and some of the properties (like exposesReturnsTwice), but other than that, LGTM.

This revision is now accepted and ready to land.Feb 9 2017, 3:03 PM
This revision was automatically updated to reflect the committed changes.
igorb added a comment.Feb 9 2017, 11:21 PM

Thank you for review, and for the comments.