[PATCH] D28603: [ARM] CodeGen: Replace AddDefaultT1CC and AddNoT1CC. NFC

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 03:40:40 PST 2017


rovka created this revision.
rovka added reviewers: MatzeB, kristof.beyls.
rovka added subscribers: llvm-commits, rengolin.
Herald added a subscriber: aemerson.

Same as https://reviews.llvm.org/D28557.

For AddDefaultT1CC, we add a new helper t1CondCodeOp, which
creates the appropriate register operand. For AddNoT1CC, we use 
the existing condCodeOp helper - we only had two uses of AddNoT1CC,
so I thought it wasn't worth having yet another helper just for them.

These are the last of the "freestanding" helpers in ARMBaseInstrInfo.h.
I can also have a look at ARMBaseInstrInfo::AddDReg if you have the
patience for another one of these patches :D


https://reviews.llvm.org/D28603

Files:
  lib/Target/ARM/ARMBaseInstrInfo.h
  lib/Target/ARM/ARMFastISel.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  lib/Target/ARM/Thumb2SizeReduction.cpp
  lib/Target/ARM/ThumbRegisterInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28603.84100.patch
Type: text/x-patch
Size: 8958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/b754082c/attachment.bin>


More information about the llvm-commits mailing list