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:
Anton Korobeynikov 2010-08-23 07:38:51 +00:00
parent 3e56fd4d22
commit cbbe4501df
1 changed files with 0 additions and 6 deletions

View File

@ -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;
}
}