This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Rename MachineInstrBuilder::addOperand
ClosedPublic

Authored by rovka on Jan 11 2017, 4:34 AM.

Details

Summary

Rename from addOperand to just add, to match the other method that has been
added to MachineInstrBuilder for adding more than just 1 operand.

See https://reviews.llvm.org/D28057 for the whole discussion.

Credit goes to clang-rename for doing all the work on this one.

Diff Detail

Repository
rL LLVM

Event Timeline

rovka updated this revision to Diff 83958.Jan 11 2017, 4:34 AM
rovka retitled this revision from to [CodeGen] Rename MachineInstrBuilder::addOperand.
rovka updated this object.
rovka added reviewers: MatzeB, kristof.beyls.
rovka added subscribers: llvm-commits, rengolin.
MatzeB accepted this revision.Jan 11 2017, 9:27 AM
MatzeB edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 11 2017, 9:27 AM

BTW: You should append a "; NFC" to the title of this commit and the others of the series.

Can you wait until after the branch to commit this?

Thanks for reviewing all of these!

BTW: You should append a "; NFC" to the title of this commit and the others of the series.

Ok. I wasn't sure if they're NFC, because they could break the build for downstream users (e.g. out-of-tree backends that use addOperand).

Can you wait until after the branch to commit this?

Sure, I'll keep an eye out for that.

This revision was automatically updated to reflect the committed changes.