diff options
author | dim <dim@FreeBSD.org> | 2015-05-30 15:36:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-05-30 15:36:23 +0000 |
commit | 3cd22c5584a700a2036b948ef96ae41bbd233bb6 (patch) | |
tree | e9f6288dce1b090572b6ade998862abc53e54b80 /contrib/llvm/lib/Transforms | |
parent | e3e0f940d5a51d987e16f07a7e27c1a99c8972c2 (diff) | |
download | FreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.zip FreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.tar.gz |
Drop llvm/clang patches which are no longer necessary.
Diffstat (limited to 'contrib/llvm/lib/Transforms')
-rw-r--r-- | contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 7eb0682..3496a66 100644 --- a/contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -89,10 +89,6 @@ static cl::opt<bool> EnableLoopDistribute( "enable-loop-distribute", cl::init(false), cl::Hidden, cl::desc("Enable the new, experimental LoopDistribution Pass")); -static cl::opt<bool> EnableGVN("enable-gvn", - cl::init(true), cl::Hidden, - cl::desc("Run the global value numbering pass")); - PassManagerBuilder::PassManagerBuilder() { OptLevel = 2; SizeLevel = 0; @@ -265,8 +261,7 @@ void PassManagerBuilder::populateModulePassManager( if (OptLevel > 1) { if (EnableMLSM) MPM.add(createMergedLoadStoreMotionPass()); // Merge ld/st in diamonds - if (EnableGVN) - MPM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies + MPM.add(createGVNPass(DisableGVNLoadPRE)); // Remove redundancies } MPM.add(createMemCpyOptPass()); // Remove memcpy / form memset MPM.add(createSCCPPass()); // Constant prop with SCCP |