diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-02-26 18:35:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-02-26 18:35:19 +0000 |
commit | 95565945de6dac729bf8bf374d2c46edd64810c6 (patch) | |
tree | 3650353b9c82f28b85cc81cabd9d7b8ad6d6b39a /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | b06cd83e0959791c2fa9a6a5788e6c4d52518bcb (diff) | |
download | external_llvm-95565945de6dac729bf8bf374d2c46edd64810c6.zip external_llvm-95565945de6dac729bf8bf374d2c46edd64810c6.tar.gz external_llvm-95565945de6dac729bf8bf374d2c46edd64810c6.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 278de02..e3d0bbd 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -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. |