[PATCH] D22158: Mips: Avoid implicit iterator conversions, NFC

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


dexonsmith created this revision.
dexonsmith added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders.

Avoid implicit conversions from MachineInstrBundleInstr to MachineInstr*
in the Mips backend, mainly by preferring MachineInstr& over
MachineInstr* when a pointer isn't nullable and using range-based for
loops.


http://reviews.llvm.org/D22158

Files:
  lib/Target/Mips/MipsConstantIslandPass.cpp
  lib/Target/Mips/MipsDelaySlotFiller.cpp
  lib/Target/Mips/MipsHazardSchedule.cpp
  lib/Target/Mips/MipsInstrInfo.cpp
  lib/Target/Mips/MipsInstrInfo.h
  lib/Target/Mips/MipsLongBranch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22158.63289.patch
Type: text/x-patch
Size: 14491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/4cfec120/attachment.bin>


More information about the llvm-commits mailing list