]> granicus.if.org Git - llvm/commit
[ARM] CodeGen: Replace AddDefaultT1CC and AddNoT1CC. NFC
authorDiana Picus <diana.picus@linaro.org>
Fri, 13 Jan 2017 10:37:37 +0000 (10:37 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 13 Jan 2017 10:37:37 +0000 (10:37 +0000)
commit9ff5fb18b6e550f61b93c70e2894421850c1c841
tree39062214f3e525c3d5dc01f4e699f36293d997bc
parent1279248fc3e85ce81e4b2df3b93866cd6fee1d7e
[ARM] CodeGen: Replace AddDefaultT1CC and AddNoT1CC. NFC

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 at this point it's probably not
worth having yet another helper just for them.

Differential Revision: https://reviews.llvm.org/D28603

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291894 91177308-0d34-0410-b5e6-96231b3b80d8
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