This is an archive of the discontinued LLVM Phabricator instance.

ARM: Use methods to access data stored with frame instructions
ClosedPublic

Authored by sepavloff on Apr 17 2017, 10:37 AM.

Details

Summary

In r300196 several methods were added to TarfetInstrInfo to access
data stored with call frame setup/destroy instructions. This change
replaces calls to getOperand with calls to such special methods in
ARM target.
This patch is essentially NFC, it is needed to simplify subsequent
changes.

Diff Detail

Repository
rL LLVM

Event Timeline

sepavloff created this revision.Apr 17 2017, 10:37 AM
jmolloy accepted this revision.Apr 18 2017, 1:28 AM
jmolloy added a subscriber: jmolloy.

One change requested, otherwise LGTM. Thanks for the cleanup!

lib/Target/ARM/ARMBaseInstrInfo.h
419 ↗(On Diff #95451)

Asserts are cheap: I'd prefer if you could assert that MI is ADJCALLSTACKUP here.

This revision is now accepted and ready to land.Apr 18 2017, 1:28 AM
This revision was automatically updated to reflect the committed changes.