mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +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.
|
||||
if (F->TargetSelectInstruction(Begin, FuncInfo->ValueMap,
|
||||
FuncInfo->MBBMap, BB))
|
||||
FuncInfo->MBBMap, BB)) {
|
||||
++Begin;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Handle certain instructions as single-LLVM-Instruction blocks.
|
||||
if (isa<CallInst>(Begin) || isa<LoadInst>(Begin) ||
|
||||
|
Loading…
Reference in New Issue
Block a user