summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Scalar.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-30 20:12:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-30 20:12:24 +0000
commit2f192c256c28f3b6c018f59e96380cd26f59c767 (patch)
treef78f39f43c28d84210560c5a1ad4b5f8fdd06b38 /include/llvm/Transforms/Scalar.h
parent3efabd316f05c8c9f82a62424721532c474fc067 (diff)
downloadllvm-2f192c256c28f3b6c018f59e96380cd26f59c767.tar.gz
llvm-2f192c256c28f3b6c018f59e96380cd26f59c767.tar.bz2
llvm-2f192c256c28f3b6c018f59e96380cd26f59c767.tar.xz
Add option to createGVNPass to disable PRE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-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 f019d3512d..e01b5dd746 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -271,7 +271,7 @@ extern const PassInfo *const LCSSAID;
// GVN - This pass performs global value numbering and redundant load
// elimination cotemporaneously.
//
-FunctionPass *createGVNPass();
+FunctionPass *createGVNPass(bool NoPRE = false);
//===----------------------------------------------------------------------===//
//