This is an archive of the discontinued LLVM Phabricator instance.

Refactoring of ARM machine block size computation
ClosedPublic

Authored by SjoerdMeijer on Jul 21 2016, 12:08 PM.

Details

Summary

This refactoring of ARM machine block size computation creates two utilities functions so that the size computation is available not only in ConstantIslands but in other passes as well (e.g. we would like to use this for code size optimisations in pass machine block placement).

Diff Detail

Repository
rL LLVM

Event Timeline

SjoerdMeijer retitled this revision from to Refactoring of ARM machine block size computation.
SjoerdMeijer updated this object.
SjoerdMeijer added a subscriber: llvm-commits.
t.p.northover added inline comments.Jul 21 2016, 1:28 PM
lib/Target/ARM/ARMComputeBlockSize.cpp
42–43 ↗(On Diff #64936)

Since we're messing up blame history anyway, we'd just as well switch to the preferred LLVM coding style (in this case, functions start with a lower-case letter).

t.p.northover accepted this revision.Jul 21 2016, 1:31 PM
t.p.northover edited edge metadata.

Other than that, I think this is reasonable. I don't think you need to upload a corrected version before committing.

Tim.

This revision is now accepted and ready to land.Jul 21 2016, 1:31 PM

Thanks for reviewing Tim!

This revision was automatically updated to reflect the committed changes.