Deleted Added
sdiff udiff text old ( 198090 ) new ( 200581 )
full compact
1//===- XCoreInstrInfo.cpp - XCore Instruction Information -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 439 unchanged lines hidden (view full) ---

448 else {
449 MI = BeforeI;
450 ++MI;
451 }
452 }
453 return true;
454}
455
456/// ReverseBranchCondition - Return the inverse opcode of the
457/// specified Branch instruction.
458bool XCoreInstrInfo::
459ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const
460{
461 assert((Cond.size() == 2) &&
462 "Invalid XCore branch condition!");
463 Cond[0].setImm(GetOppositeBranchCondition((XCore::CondCode)Cond[0].getImm()));
464 return false;
465}