mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Revert r109901. The implementation of <rdar://problem/7405933> (r110423) doesn't
need the Compare flag after all. --- Reverse-merging r109901 into '.': U include/llvm/Target/TargetInstrDesc.h U include/llvm/Target/Target.td U utils/TableGen/InstrInfoEmitter.cpp U utils/TableGen/CodeGenInstruction.cpp U utils/TableGen/CodeGenInstruction.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -102,7 +102,6 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
|
||||
isReturn = R->getValueAsBit("isReturn");
|
||||
isBranch = R->getValueAsBit("isBranch");
|
||||
isIndirectBranch = R->getValueAsBit("isIndirectBranch");
|
||||
isCompare = R->getValueAsBit("isCompare");
|
||||
isBarrier = R->getValueAsBit("isBarrier");
|
||||
isCall = R->getValueAsBit("isCall");
|
||||
canFoldAsLoad = R->getValueAsBit("canFoldAsLoad");
|
||||
|
@@ -123,7 +123,6 @@ namespace llvm {
|
||||
bool isReturn;
|
||||
bool isBranch;
|
||||
bool isIndirectBranch;
|
||||
bool isCompare;
|
||||
bool isBarrier;
|
||||
bool isCall;
|
||||
bool canFoldAsLoad;
|
||||
|
@@ -270,7 +270,6 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
if (Inst.isReturn) OS << "|(1<<TID::Return)";
|
||||
if (Inst.isBranch) OS << "|(1<<TID::Branch)";
|
||||
if (Inst.isIndirectBranch) OS << "|(1<<TID::IndirectBranch)";
|
||||
if (Inst.isCompare) OS << "|(1<<TID::Compare)";
|
||||
if (Inst.isBarrier) OS << "|(1<<TID::Barrier)";
|
||||
if (Inst.hasDelaySlot) OS << "|(1<<TID::DelaySlot)";
|
||||
if (Inst.isCall) OS << "|(1<<TID::Call)";
|
||||
|
Reference in New Issue
Block a user