diff options
author | Marina Yatsina <marina.yatsina@intel.com> | 2018-01-22 10:06:50 +0000 |
---|---|---|
committer | Marina Yatsina <marina.yatsina@intel.com> | 2018-01-22 10:06:50 +0000 |
commit | 0bf841ac2a7039afc2a5589c0735abbc5e263ac6 (patch) | |
tree | a43d2060bce676b98692eab9321947b4d85d591f /llvm/lib/Target | |
parent | 3d8efa4f0c3cb8fdcd5e052c081786f2b9aaaf8b (diff) | |
download | bcm5719-llvm-0bf841ac2a7039afc2a5589c0735abbc5e263ac6.tar.gz bcm5719-llvm-0bf841ac2a7039afc2a5589c0735abbc5e263ac6.zip |
Separate LoopTraversal, ReachingDefAnalysis and BreakFalseDeps into their own files.
This is the one of multiple patches that fix bugzilla https://bugs.llvm.org/show_bug.cgi?id=33869
Most of the patches are intended at refactoring the existent code.
Additional relevant reviews:
https://reviews.llvm.org/D40330
https://reviews.llvm.org/D40331
https://reviews.llvm.org/D40332
https://reviews.llvm.org/D40334
Differential Revision: https://reviews.llvm.org/D40333
Change-Id: Ie5f8eb34d98cfdfae23a3072eb69b5794f0e2d56
llvm-svn: 323095
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/ARMTargetMachine.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp index 66eaa3ce72d..9ba286a98d5 100644 --- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp +++ b/llvm/lib/Target/ARM/ARMTargetMachine.cpp @@ -466,7 +466,7 @@ void ARMPassConfig::addPreSched2() { addPass(createARMLoadStoreOptimizationPass()); addPass(new ARMExecutionDomainFix()); - addPass(new BreakFalseDeps()); + addPass(createBreakFalseDeps()); } // Expand some pseudo instructions into multiple instructions to allow diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index f07743a6560..c7a421ba71d 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -446,7 +446,7 @@ void X86PassConfig::addPreSched2() { addPass(createX86ExpandPseudoPass()); } void X86PassConfig::addPreEmitPass() { if (getOptLevel() != CodeGenOpt::None) { addPass(new X86ExecutionDomainFix()); - addPass(new BreakFalseDeps()); + addPass(createBreakFalseDeps()); } addPass(createX86IndirectBranchTrackingPass()); |