From a0a7c1de9c174ee8024843e1cfbdaf3f47c9be34 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 17 Sep 2007 15:19:08 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86InstrInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 78baaa44c83..0cf65b04e63 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -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; } -- 2.34.1