mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 05:31:37 +00:00
Skipping over debugvalue instructions to determine whether the split spot is in a IT block. rdar://9030770
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf13af6fde
commit
557b297f35
@ -95,6 +95,9 @@ Thumb2InstrInfo::ReplaceTailWithBranchTo(MachineBasicBlock::iterator Tail,
|
||||
bool
|
||||
Thumb2InstrInfo::isLegalToSplitMBBAt(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI) const {
|
||||
while (MBBI->isDebugValue())
|
||||
++MBBI;
|
||||
|
||||
unsigned PredReg = 0;
|
||||
return llvm::getITInstrPredicate(MBBI, PredReg) == ARMCC::AL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user