This is an archive of the discontinued LLVM Phabricator instance.

Make first of several changes to bring up to AArch64 fast-isel style
ClosedPublic

Authored by rkotler on Oct 2 2014, 6:33 PM.

Details

Summary

Make Mips fast-isel track the form of AArch64 where practical.
This makes it easier for people to review the code, to borrow similar code, and to see how to eventually move a lot of this
target code for fast-isels into target independent code.

These are just cosmetic changes. Should be no functional difference.

Diff Detail

Event Timeline

rkotler updated this revision to Diff 14365.Oct 2 2014, 6:33 PM
rkotler retitled this revision from to Make first of several changes to bring up toe AArch64 fast-isel style.
rkotler updated this object.
rkotler edited the test plan for this revision. (Show Details)
rkotler added a reviewer: dsanders.
rkotler added subscribers: mcrosier, rfuhler, Unknown Object (MLST).
rkotler updated this revision to Diff 14366.Oct 2 2014, 6:44 PM
rkotler retitled this revision from Make first of several changes to bring up toe AArch64 fast-isel style to Make first of several changes to bring up to AArch64 fast-isel style.

Fix case on names of materialize methods.

rkotler updated this object.Oct 2 2014, 6:45 PM
dsanders accepted this revision.Oct 3 2014, 6:44 AM
dsanders edited edge metadata.

LGTM with a couple nits.

lib/Target/Mips/MipsFastISel.cpp
53

Nit: I realize the AArch64 code uses 'O' as well but please pick something else. It looks too much like '0'.

54

Nit: Shouldn't this be const?

138

Nit: Can you move this after the constructor?

This revision is now accepted and ready to land.Oct 3 2014, 6:44 AM
rkotler updated this revision to Diff 14614.Oct 8 2014, 5:06 PM
rkotler edited edge metadata.

This change just merges with a series of other changes in progress.

rkotler updated this revision to Diff 14809.Oct 13 2014, 11:31 AM
  1. Changed parameter name for setOffset

2.Made getOffset a "const"

  1. Moved fastMaterializeCosntant declaration after cosntuctor
rkotler updated this revision to Diff 14811.Oct 13 2014, 11:48 AM

Forgot to commit a few changes.

rkotler closed this revision.Oct 13 2014, 2:56 PM