[X86] Make isel select the shorter form of jump instructions instead of the long...
authorCraig Topper <craig.topper@gmail.com>
Tue, 6 Jan 2015 04:23:53 +0000 (04:23 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 6 Jan 2015 04:23:53 +0000 (04:23 +0000)
commit49758aab94b2e64543cabb6e6ed84c434d11b96e
tree211c30f3d6c3561e5028b800dce257f7ceefb704
parentba26f586a09bada263d08979dba9d8a07bc30e94
[X86] Make isel select the shorter form of jump instructions instead of the long form.

The assembler backend will relax to the long form if necessary. This removes a swap from long form to short form in the MCInstLowering code. Selecting the long form used to be required by the old JIT.

llvm-svn: 225242
llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrControl.td
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86MCInstLower.cpp