[PATCH] D20212: [MIB] Create a helper function getRegState to extract all register flags

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 16:37:11 PDT 2016


qcolombet added a subscriber: qcolombet.
qcolombet accepted this revision.
qcolombet added a reviewer: qcolombet.
qcolombet added a comment.
This revision is now accepted and ready to land.

Hi Krzysztof,

LGTM with a doxygen comment on the added function.

Cheers,
-Quentin


================
Comment at: include/llvm/CodeGen/MachineInstrBuilder.h:389
@@ -388,1 +388,3 @@
 
+inline unsigned getRegState(const MachineOperand &RegOp) {
+  assert(RegOp.isReg() && "Not a register operand");
----------------
Add a doxygen comment on that function.


Repository:
  rL LLVM

http://reviews.llvm.org/D20212





More information about the llvm-commits mailing list