This is an archive of the discontinued LLVM Phabricator instance.

ARM: Remove implicit iterator conversions, NFC
ClosedPublic

Authored by dexonsmith on Jul 8 2016, 12:05 PM.

Details

Reviewers
t.p.northover
Summary

Remove remaining implicit conversions from MachineInstrBundleIterator to
MachineInstr* from the ARM backend. In most cases, I made them less attractive
by preferring MachineInstr& or using a ranged-based for loop.

Once all the backends are fixed I'll make the operator explicit so that this
doesn't bitrot back.

Diff Detail

Event Timeline

dexonsmith updated this revision to Diff 63277.Jul 8 2016, 12:05 PM
dexonsmith retitled this revision from to ARM: Remove implicit iterator conversions, NFC.
dexonsmith updated this object.
dexonsmith added a subscriber: llvm-commits.

Looks fine to me.

Tim.

t.p.northover accepted this revision.Jul 8 2016, 1:07 PM
t.p.northover added a reviewer: t.p.northover.
This revision is now accepted and ready to land.Jul 8 2016, 1:07 PM

Thanks for the review! Committed in r274920.

dexonsmith closed this revision.Jul 8 2016, 1:29 PM