mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
If TargetSelectInstruction returns true, move to next instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea09f4f469
commit
f45261fb9b
@ -5763,8 +5763,10 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF) {
|
|||||||
|
|
||||||
// Next, try calling the target to attempt to handle the instruction.
|
// Next, try calling the target to attempt to handle the instruction.
|
||||||
if (F->TargetSelectInstruction(Begin, FuncInfo->ValueMap,
|
if (F->TargetSelectInstruction(Begin, FuncInfo->ValueMap,
|
||||||
FuncInfo->MBBMap, BB))
|
FuncInfo->MBBMap, BB)) {
|
||||||
|
++Begin;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Handle certain instructions as single-LLVM-Instruction blocks.
|
// Handle certain instructions as single-LLVM-Instruction blocks.
|
||||||
if (isa<CallInst>(Begin) || isa<LoadInst>(Begin) ||
|
if (isa<CallInst>(Begin) || isa<LoadInst>(Begin) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user