forked from OSchip/llvm-project
Add support for the CC registers for Sparc BE
llvm-svn: 5296
This commit is contained in:
parent
637de4abee
commit
109d114e4c
|
|
@ -473,6 +473,14 @@ public:
|
||||||
UTy, isPCRelative));
|
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...
|
/// addRegOperand - Add a symbolic virtual register reference...
|
||||||
///
|
///
|
||||||
void addRegOperand(int reg, bool isDef) {
|
void addRegOperand(int reg, bool isDef) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue