mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
allow branch reversal to fail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ccc47ec38
commit
5f1e4dbdf7
@ -308,10 +308,11 @@ public:
|
|||||||
assert(0 && "Target didn't implement TargetInstrInfo::RemoveBranch!");
|
assert(0 && "Target didn't implement TargetInstrInfo::RemoveBranch!");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reverses the branch condition of the MachineInstr pointed by
|
/// ReverseBranchCondition - Reverses the branch condition of the specified
|
||||||
/// MI. The instruction is replaced and the new MI is returned.
|
/// condition list, returning false on success and true if it cannot be
|
||||||
virtual void ReverseBranchCondition(std::vector<MachineOperand> &Cond) const {
|
/// reversed.
|
||||||
assert(0 && "Target didn't implement ReverseBranchCondition!");
|
virtual bool ReverseBranchCondition(std::vector<MachineOperand> &Cond) const {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// insertNoop - Insert a noop into the instruction stream at the specified
|
/// insertNoop - Insert a noop into the instruction stream at the specified
|
||||||
|
Loading…
x
Reference in New Issue
Block a user