Avoid implicit conversions from MachineInstrBundleIterator to
MachineInstr* in the SystemZ backend, mainly by preferring MachineInstr&
over MachineInstr* and using range-based for loops.
Details
Details
- Reviewers
uweigand
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'll defer to your expertise on that. Patch looks good to me.
I guess I'm not fully familiar with some of the C++ language details here. Would you mind explaining in more detail what the problem is specifically, and what we should be doing to avoid this issue in the future? Using something like "&*I" in the LDCleanup file wouldn't have naturally occurred to me ... :-)
Comment Actions
Committed in r275137, and somehow that didn't get included in Phab despite top-posting...