mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove remaining calls to TII::isMoveInstr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108556 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,6 @@ bool CalculateSpillWeights::runOnMachineFunction(MachineFunction &fn) {
|
||||
|
||||
LiveIntervals *lis = &getAnalysis<LiveIntervals>();
|
||||
MachineLoopInfo *loopInfo = &getAnalysis<MachineLoopInfo>();
|
||||
const TargetInstrInfo *tii = fn.getTarget().getInstrInfo();
|
||||
MachineRegisterInfo *mri = &fn.getRegInfo();
|
||||
|
||||
SmallSet<unsigned, 4> processed;
|
||||
@@ -58,7 +57,7 @@ bool CalculateSpillWeights::runOnMachineFunction(MachineFunction &fn) {
|
||||
for (MachineBasicBlock::const_iterator mii = mbb->begin(), mie = mbb->end();
|
||||
mii != mie; ++mii) {
|
||||
const MachineInstr *mi = mii;
|
||||
if (tii->isIdentityCopy(*mi) || mi->isImplicitDef() || mi->isDebugValue())
|
||||
if (mi->isIdentityCopy() || mi->isImplicitDef() || mi->isDebugValue())
|
||||
continue;
|
||||
|
||||
for (unsigned i = 0, e = mi->getNumOperands(); i != e; ++i) {
|
||||
|
Reference in New Issue
Block a user