1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add support for the CC registers for Sparc BE

llvm-svn: 5296
This commit is contained in:
Chris Lattner 2003-01-15 19:22:06 +00:00
parent 8c56dc23a5
commit f254db43cd

View File

@ -473,6 +473,14 @@ public:
UTy, isPCRelative));
}
void addCCRegOperand(Value *V, MOTy::UseType UTy = MOTy::Use) {
assert(!OperandsComplete() &&
"Trying to add an operand to a machine instr that is already done!");
operands.push_back(MachineOperand(V, MachineOperand::MO_CCRegister, UTy,
false));
}
/// addRegOperand - Add a symbolic virtual register reference...
///
void addRegOperand(int reg, bool isDef) {