mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Make LiveIntervals::handleMove() bundle aware.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -900,6 +900,16 @@ bool MachineInstr::isBundled() const {
|
||||
return nextMI != Parent->instr_end() && nextMI->isInsideBundle();
|
||||
}
|
||||
|
||||
MachineInstr* MachineInstr::getBundleStart() {
|
||||
if (!isInsideBundle())
|
||||
return this;
|
||||
MachineBasicBlock::reverse_instr_iterator MII(this);
|
||||
--MII;
|
||||
while (MII->isInsideBundle())
|
||||
--MII;
|
||||
return &*MII;
|
||||
}
|
||||
|
||||
bool MachineInstr::isStackAligningInlineAsm() const {
|
||||
if (isInlineAsm()) {
|
||||
unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
|
||||
|
Reference in New Issue
Block a user