Page MenuHomePhabricator

AArch64: Avoid implicit iterator conversions, NFC
ClosedPublic

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

Details

Reviewers
t.p.northover
Summary

Avoid implicit conversions from MachineInstrBundleInstr to
MachineInstr* in the AArch64 backend, mainly by preferring MachineInstr&
over MachineInstr* when a pointer isn't nullable.

Diff Detail

Event Timeline

dexonsmith updated this revision to Diff 63278.Jul 8 2016, 12:11 PM
dexonsmith retitled this revision from to AArch64: Avoid implicit iterator conversions, NFC.
dexonsmith updated this object.
dexonsmith added a subscriber: llvm-commits.
t.p.northover accepted this revision.Jul 8 2016, 1:29 PM
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a subscriber: t.p.northover.

This looks fine too.

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

Thanks for looking. Committed in r274924.

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