forked from OSchip/llvm-project
Add 64-bit jmp instructions to the list of instructions that
can terminate a block with no fall-through. llvm-svn: 42029
This commit is contained in:
parent
ed977473fe
commit
3243e10ef0
|
@ -582,7 +582,9 @@ bool X86InstrInfo::BlockHasNoFallThrough(MachineBasicBlock &MBB) const {
|
|||
case X86::TAILJMPm:
|
||||
case X86::JMP: // Uncond branch.
|
||||
case X86::JMP32r: // Indirect branch.
|
||||
case X86::JMP64r: // Indirect branch (64-bit).
|
||||
case X86::JMP32m: // Indirect branch through mem.
|
||||
case X86::JMP64m: // Indirect branch through mem (64-bit).
|
||||
return true;
|
||||
default: return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue