This is an archive of the discontinued LLVM Phabricator instance.

[ARM] CodeGen: Replace AddDefaultT1CC and AddNoT1CC. NFC
ClosedPublic

Authored by rovka on Jan 12 2017, 3:40 AM.

Details

Summary

Same as 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

Diff Detail

Repository
rL LLVM

Event Timeline

rovka updated this revision to Diff 84100.Jan 12 2017, 3:40 AM
rovka retitled this revision from to [ARM] CodeGen: Replace AddDefaultT1CC and AddNoT1CC. NFC.
rovka updated this object.
rovka added reviewers: MatzeB, kristof.beyls.
rovka added subscribers: llvm-commits, rengolin.
MatzeB accepted this revision.Jan 12 2017, 5:42 PM
MatzeB edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 12 2017, 5:42 PM
This revision was automatically updated to reflect the committed changes.