mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Also update MRI use lists when changing a use to a def and vice versa.
This was the cause of the buildbot failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161643 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -331,17 +331,9 @@ public:
|
||||
///
|
||||
void substPhysReg(unsigned Reg, const TargetRegisterInfo&);
|
||||
|
||||
void setIsUse(bool Val = true) {
|
||||
assert(isReg() && "Wrong MachineOperand accessor");
|
||||
assert((Val || !isDebug()) && "Marking a debug operation as def");
|
||||
IsDef = !Val;
|
||||
}
|
||||
void setIsUse(bool Val = true) { setIsDef(!Val); }
|
||||
|
||||
void setIsDef(bool Val = true) {
|
||||
assert(isReg() && "Wrong MachineOperand accessor");
|
||||
assert((!Val || !isDebug()) && "Marking a debug operation as def");
|
||||
IsDef = Val;
|
||||
}
|
||||
void setIsDef(bool Val = true);
|
||||
|
||||
void setImplicit(bool Val = true) {
|
||||
assert(isReg() && "Wrong MachineOperand accessor");
|
||||
|
Reference in New Issue
Block a user