Page MenuHomePhabricator

[GISel] Pass MD_callees metadata down in call lowering.
ClosedPublic

Authored by rudkx on Jul 30 2019, 4:27 PM.

Details

Summary

This will make it possible to improve IPRA by taking into account
register usage in indirect calls.

NFC yet; this is just laying the groundwork to start building
up patches to take advantage of the information for improved register
allocation.

Diff Detail

Repository
rL LLVM

Event Timeline

rudkx created this revision.Jul 30 2019, 4:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 30 2019, 4:27 PM
arsenm accepted this revision.Jul 30 2019, 4:38 PM

LGTM with nit

llvm/lib/Target/Mips/MipsCallLowering.h
73–74 ↗(On Diff #212467)

The overrides should preserve the nullptr default from the base

This revision is now accepted and ready to land.Jul 30 2019, 4:38 PM
rudkx updated this revision to Diff 212471.Jul 30 2019, 4:56 PM
  • [GISel] Address review feedback on passing MD_callees to lowerCall.
arsenm accepted this revision.Jul 30 2019, 4:58 PM
This revision was automatically updated to reflect the committed changes.