OSDN Git Service

[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)
commit1299ae2403dcecd03c8289ee1356e5484a805f65
tree65482e4751a2c637d568f8830578f7a8b00f20d3
parent5b12a2f70388b0578ed4acf885bbca008aaa2cd9
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225242 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrControl.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86MCInstLower.cpp