mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Turn the hasDelaySlot flag into the M_DELAY_SLOT_FLAG
llvm-svn: 16553
This commit is contained in:
parent
89a80a46f1
commit
7a941d7691
@ -73,6 +73,7 @@ namespace llvm {
|
||||
bool isCall;
|
||||
bool isTwoAddress;
|
||||
bool isTerminator;
|
||||
bool hasDelaySlot;
|
||||
|
||||
CodeGenInstruction(Record *R, const std::string &AsmStr);
|
||||
|
||||
|
@ -197,6 +197,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
|
||||
isCall = R->getValueAsBit("isCall");
|
||||
isTwoAddress = R->getValueAsBit("isTwoAddress");
|
||||
isTerminator = R->getValueAsBit("isTerminator");
|
||||
hasDelaySlot = R->getValueAsBit("hasDelaySlot");
|
||||
|
||||
try {
|
||||
DagInit *DI = R->getValueAsDag("OperandList");
|
||||
|
@ -111,6 +111,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
if (Inst.isReturn) OS << "|M_RET_FLAG";
|
||||
if (Inst.isBranch) OS << "|M_BRANCH_FLAG";
|
||||
if (Inst.isBarrier) OS << "|M_BARRIER_FLAG";
|
||||
if (Inst.hasDelaySlot) OS << "|M_DELAY_SLOT_FLAG";
|
||||
if (Inst.isCall) OS << "|M_CALL_FLAG";
|
||||
if (Inst.isTwoAddress) OS << "|M_2_ADDR_FLAG";
|
||||
if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
|
||||
|
Loading…
x
Reference in New Issue
Block a user