llvm.org GIT mirror llvm / 58a3685
Don't add live ranges for aliases of physregs that are live in to the function. They don't appear to be used, and are inconsistent with handling of other physreg intervals (i.e. intervals that are not live-in) where ranges are not inserted for aliases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148986 91177308-0d34-0410-b5e6-96231b3b80d8 Lang Hames 7 years ago
1 changed file(s) with 0 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
581581 for (MachineBasicBlock::livein_iterator LI = MBB->livein_begin(),
582582 LE = MBB->livein_end(); LI != LE; ++LI) {
583583 handleLiveInRegister(MBB, MIIndex, getOrCreateInterval(*LI));
584 // Multiple live-ins can alias the same register.
585 for (const unsigned* AS = tri_->getSubRegisters(*LI); *AS; ++AS)
586 if (!hasInterval(*AS))
587 handleLiveInRegister(MBB, MIIndex, getOrCreateInterval(*AS),
588 true);
589584 }
590585
591586 // Skip over empty initial indices.