mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 00:27:31 +00:00
Trust kill flags from isel and later passes.
llvm-svn: 103748
This commit is contained in:
parent
aa38789fd4
commit
f913d9f2b8
@ -673,10 +673,6 @@ void RAFast::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
||||
MachineOperand &MO = MI->getOperand(i);
|
||||
if (!MO.isReg()) continue;
|
||||
|
||||
// FIXME: For now, don't trust kill flags
|
||||
if (MO.isUse()) MO.setIsKill(false);
|
||||
|
||||
unsigned Reg = MO.getReg();
|
||||
if (!Reg || !TargetRegisterInfo::isPhysicalRegister(Reg) ||
|
||||
ReservedRegs.test(Reg)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user