mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
an attempt to salvage the darwin9-powerpc buildbot, which could be miscompiling this line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1373,7 +1373,7 @@ AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpValue) const {
|
|||||||
CmpValue = MI->getOperand(1).getImm();
|
CmpValue = MI->getOperand(1).getImm();
|
||||||
return true;
|
return true;
|
||||||
case ARM::TSTri: {
|
case ARM::TSTri: {
|
||||||
if (MI->getParent()->begin() == MachineBasicBlock::const_iterator(MI))
|
if (&*MI->getParent()->begin() == MI)
|
||||||
return false;
|
return false;
|
||||||
const MachineInstr *AND = llvm::prior(MI);
|
const MachineInstr *AND = llvm::prior(MI);
|
||||||
if (AND->getOpcode() != ARM::ANDri)
|
if (AND->getOpcode() != ARM::ANDri)
|
||||||
@@ -1385,6 +1385,7 @@ AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpValue) const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user