forked from OSchip/llvm-project
Revert invalid r111792. Jump tables are not broken on x86-64 / coff,
it's COFF emitter which does not support differences of two symbols (and needs to be fixed). GAS is pretty fine with code produced. llvm-svn: 111801
This commit is contained in:
parent
3e56fd4d22
commit
cbbe4501df
|
|
@ -1029,12 +1029,6 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
|
|||
maxStoresPerMemmove = 3; // For @llvm.memmove -> sequence of stores
|
||||
setPrefLoopAlignment(16);
|
||||
benefitFromCodePlacementOpt = true;
|
||||
|
||||
// FIXME: Jump tables are currently broken for 64 bit COFF.
|
||||
// See PR7960.
|
||||
if (Subtarget->is64Bit() && Subtarget->isTargetCOFF()) {
|
||||
DisableJumpTables = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue