diff options
| author | Dan Gohman <gohman@apple.com> | 2007-09-17 15:19:08 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-09-17 15:19:08 +0000 |
| commit | 3243e10ef051cf551031422e6d70aab627aed368 (patch) | |
| tree | ce726862a054ba7d8422936a126fb7587fcd15e1 /llvm/lib/Target | |
| parent | ed977473feade48c946a11c0daf5d631bdc9bcb3 (diff) | |
| download | bcm5719-llvm-3243e10ef051cf551031422e6d70aab627aed368.tar.gz bcm5719-llvm-3243e10ef051cf551031422e6d70aab627aed368.zip | |
Add 64-bit jmp instructions to the list of instructions that
can terminate a block with no fall-through.
llvm-svn: 42029
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp index 78baaa44c83..0cf65b04e63 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.cpp +++ b/llvm/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; } |

