[PATCH] D22153: MSP430: Avoid implicit iterator conversions, NFC

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


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

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


http://reviews.llvm.org/D22153

Files:
  lib/Target/MSP430/MSP430BranchSelector.cpp
  lib/Target/MSP430/MSP430FrameLowering.cpp
  lib/Target/MSP430/MSP430InstrInfo.cpp
  lib/Target/MSP430/MSP430InstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22153.63281.patch
Type: text/x-patch
Size: 6620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/9b130565/attachment.bin>


More information about the llvm-commits mailing list