mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Looks like this condition is inverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -780,7 +780,7 @@ bool MachineInstr::addRegisterDead(unsigned IncomingReg,
|
|||||||
const TargetRegisterInfo *RegInfo,
|
const TargetRegisterInfo *RegInfo,
|
||||||
bool AddIfNotFound) {
|
bool AddIfNotFound) {
|
||||||
bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg);
|
bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg);
|
||||||
bool hasAliases = isPhysReg && RegInfo->getAliasSet(IncomingReg) == 0;
|
bool hasAliases = isPhysReg && RegInfo->getAliasSet(IncomingReg);
|
||||||
bool Found = false;
|
bool Found = false;
|
||||||
SmallVector<unsigned,4> DeadOps;
|
SmallVector<unsigned,4> DeadOps;
|
||||||
for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
|
||||||
|
Reference in New Issue
Block a user