summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-02-26 18:35:19 +0000
committerBob Wilson <bob.wilson@apple.com>2010-02-26 18:35:19 +0000
commit60df9077ebe2a38723beadedd88e349f9aa214cb (patch)
tree3650353b9c82f28b85cc81cabd9d7b8ad6d6b39a /include
parentf60e9bbbad8934341cfbdb6ccdd454f89a36e366 (diff)
downloadllvm-60df9077ebe2a38723beadedd88e349f9aa214cb.tar.gz
llvm-60df9077ebe2a38723beadedd88e349f9aa214cb.tar.bz2
llvm-60df9077ebe2a38723beadedd88e349f9aa214cb.tar.xz
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 'include')
-rw-r--r--include/llvm/Transforms/Scalar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 7159f86e1e..6893badfc2 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -263,7 +263,7 @@ extern const PassInfo *const LCSSAID;
// GVN - This pass performs global value numbering and redundant load
// elimination cotemporaneously.
//
-FunctionPass *createGVNPass(bool NoPRE = false, bool NoLoads = false);
+FunctionPass *createGVNPass(bool NoLoads = false);
//===----------------------------------------------------------------------===//
//