mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
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
This commit is contained in:
parent
69c59218dc
commit
4654a07e25
@ -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…
x
Reference in New Issue
Block a user