2 changes: 0 additions & 2 deletions llvm/lib/CodeGen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ add_llvm_library(LLVMCodeGen
ExecutionDepsFix.cpp
ExpandISelPseudos.cpp
ExpandPostRAPseudos.cpp
ForwardControlFlowIntegrity.cpp
GCMetadata.cpp
GCMetadataPrinter.cpp
GCRootLowering.cpp
Expand All @@ -29,7 +28,6 @@ add_llvm_library(LLVMCodeGen
InlineSpiller.cpp
InterferenceCache.cpp
IntrinsicLowering.cpp
JumpInstrTables.cpp
LLVMTargetMachine.cpp
LatencyPriorityQueue.cpp
LexicalScopes.cpp
Expand Down
374 changes: 0 additions & 374 deletions llvm/lib/CodeGen/ForwardControlFlowIntegrity.cpp

This file was deleted.

296 changes: 0 additions & 296 deletions llvm/lib/CodeGen/JumpInstrTables.cpp

This file was deleted.

13 changes: 0 additions & 13 deletions llvm/lib/CodeGen/LLVMTargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@
//===----------------------------------------------------------------------===//

#include "llvm/Target/TargetMachine.h"
#include "llvm/Analysis/JumpInstrTableInfo.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/ForwardControlFlowIntegrity.h"
#include "llvm/CodeGen/JumpInstrTables.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
Expand Down Expand Up @@ -145,16 +142,6 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
bool DisableVerify,
AnalysisID StartAfter,
AnalysisID StopAfter) {
// Passes to handle jumptable function annotations. These can't be handled at
// JIT time, so we don't add them directly to addPassesToGenerateCode.
PM.add(createJumpInstrTableInfoPass(
getSubtargetImpl()->getInstrInfo()->getJumpInstrTableEntryBound()));
PM.add(createJumpInstrTablesPass(Options.JTType));
if (Options.FCFI)
PM.add(createForwardControlFlowIntegrityPass(
Options.JTType, Options.CFIType, Options.CFIEnforcing,
Options.getCFIFuncName()));

// Add common CodeGen passes.
MCContext *Context = addPassesToGenerateCode(this, PM, DisableVerify,
StartAfter, StopAfter);
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/Generic/stop-after.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
; STOP: Loop Strength Reduction
; STOP-NEXT: Machine Function Analysis

; START: -machine-branch-prob -jump-instr-tables -gc-lowering
; START: -machine-branch-prob -gc-lowering
; START: FunctionPass Manager
; START-NEXT: Lower Garbage Collection Instructions
34 changes: 0 additions & 34 deletions llvm/test/CodeGen/X86/cfi_enforcing.ll

This file was deleted.

35 changes: 0 additions & 35 deletions llvm/test/CodeGen/X86/cfi_invoke.ll

This file was deleted.

27 changes: 0 additions & 27 deletions llvm/test/CodeGen/X86/cfi_non_default_function.ll

This file was deleted.

43 changes: 0 additions & 43 deletions llvm/test/CodeGen/X86/cfi_simple_indirect_call.ll

This file was deleted.

32 changes: 0 additions & 32 deletions llvm/test/CodeGen/X86/jump_table_alias.ll

This file was deleted.

29 changes: 0 additions & 29 deletions llvm/test/CodeGen/X86/jump_table_align.ll

This file was deleted.

43 changes: 0 additions & 43 deletions llvm/test/CodeGen/X86/jump_table_bitcast.ll

This file was deleted.

255 changes: 0 additions & 255 deletions llvm/test/CodeGen/X86/jump_tables.ll

This file was deleted.

23 changes: 0 additions & 23 deletions llvm/test/LTO/X86/jump-table-type.ll

This file was deleted.