[PATCH] D22161: SystemZ: Avoid implicit iterator conversions, NFC

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 12:27:28 PDT 2016


dexonsmith created this revision.
dexonsmith added a subscriber: llvm-commits.

Avoid implicit conversions from MachineInstrBundleIterator to
MachineInstr* in the SystemZ backend, mainly by preferring MachineInstr&
over MachineInstr* and using range-based for loops.


http://reviews.llvm.org/D22161

Files:
  lib/Target/SystemZ/SystemZElimCompare.cpp
  lib/Target/SystemZ/SystemZInstrInfo.cpp
  lib/Target/SystemZ/SystemZLDCleanup.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22161.63293.patch
Type: text/x-patch
Size: 14529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/98a741be/attachment.bin>


More information about the llvm-commits mailing list