Avoid implicit conversions from MachineInstrBundleIterator to
MachineInstr*, mainly by preferring MachineInstr& over MachineInstr* and
using range-based for loops.
Details
Details
- Reviewers
ab
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Fast ping, since this and the PowerPC patch are the only remaining blockers to removing the implicit MachineInstrBundleIterator::operator MachineInstr*(), and I'd like to prevent bitrot in the rest of the backend.
Note that I don't necessarily need X86 or even backend expertise for this review; I'd just appreciate someone double-checking that I didn't dereference an end-iterator somewhere or something like that. Is anyone willing to give this a quick read?