This is an archive of the discontinued LLVM Phabricator instance.

[MIBundles] Move analyzePhysReg out of MIBundleOperands iterator (NFC).
ClosedPublic

Authored by fhahn on Nov 21 2019, 12:43 PM.

Details

Summary

analyzePhysReg does not really fit into the iterator and moving it
makes it easier to change the base iterator.

Diff Detail

Event Timeline

fhahn created this revision.Nov 21 2019, 12:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2019, 12:43 PM
fhahn updated this revision to Diff 230511.Nov 21 2019, 12:44 PM

Clang format.

Harbormaster completed remote builds in B41327: Diff 230511.

This is similar to D70558.

arsenm accepted this revision.Dec 2 2019, 8:04 AM

LGTM with nits

llvm/include/llvm/CodeGen/MachineInstrBundle.h
261

s/Analyze/analyze.

Also should use Register instead of unsigned

This revision is now accepted and ready to land.Dec 2 2019, 8:04 AM
This revision was automatically updated to reflect the committed changes.