diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-08-23 07:38:51 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-08-23 07:38:51 +0000 |
commit | 4654a07e254b13d168e5470394c4d954cc260d03 (patch) | |
tree | ba7e987325ccc1ae888837cfc19288c7d68f8bb0 /lib | |
parent | 69c59218dc97156a42cefd7a56e62b55b5f28544 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 9b0c5297e4..a2e2806c2e 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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; - } } |