Add 64-bit jmp instructions to the list of instructions that
authorDan Gohman <gohman@apple.com>
Mon, 17 Sep 2007 15:19:08 +0000 (15:19 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 17 Sep 2007 15:19:08 +0000 (15:19 +0000)
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

lib/Target/X86/X86InstrInfo.cpp

index 78baaa44c8363d2af98f2cc3de2877978f98a830..0cf65b04e6310612dae960db88522c075fa93086 100644 (file)
@@ -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;
   }