Remove unused "NoPRE" parameter in GVN and createGVNPass().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson
2010-02-26 18:35:19 +00:00
parent f60e9bbbad
commit 60df9077eb
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
// Optionally, tun split-GEPs and no-load GVN.
if (EnableSplitGEPGVN) {
PM.add(createGEPSplitterPass());
PM.add(createGVNPass(/*NoPRE=*/false, /*NoLoads=*/true));
PM.add(createGVNPass(/*NoLoads=*/true));
}
// Run loop strength reduction before anything else.