Add 64-bit jmp instructions to the list of instructions that

can terminate a block with no fall-through.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2007-09-17 15:19:08 +00:00
parent 959062475d
commit a0a7c1de9c

View File

@ -582,7 +582,9 @@ bool X86InstrInfo::BlockHasNoFallThrough(MachineBasicBlock &MBB) const {
case X86::TAILJMPm: case X86::TAILJMPm:
case X86::JMP: // Uncond branch. case X86::JMP: // Uncond branch.
case X86::JMP32r: // Indirect branch. case X86::JMP32r: // Indirect branch.
case X86::JMP64r: // Indirect branch (64-bit).
case X86::JMP32m: // Indirect branch through mem. case X86::JMP32m: // Indirect branch through mem.
case X86::JMP64m: // Indirect branch through mem (64-bit).
return true; return true;
default: return false; default: return false;
} }