[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 15 13:23:03 PST 2003
Changes in directory llvm/include/llvm/CodeGen:
MachineInstrBuilder.h updated: 1.12 -> 1.13
---
Log message:
ADd support for CC registers for Sparc BE
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
diff -u llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.12 llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.13
--- llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.12 Wed Jan 15 11:18:22 2003
+++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h Wed Jan 15 13:22:23 2003
@@ -43,6 +43,14 @@
return *this;
}
+ /// addReg - Add an LLVM value that is to be used as a register...
+ ///
+ const MachineInstrBuilder &addCCReg(Value *V,
+ MOTy::UseType Ty = MOTy::Use) const {
+ MI->addCCRegOperand(V, Ty);
+ return *this;
+ }
+
/// addRegDef - Add an LLVM value that is to be defined as a register... this
/// is the same as addReg(V, MOTy::Def).
///
More information about the llvm-commits
mailing list